Skip to content

Commit

Permalink
Merge pull request #357 from ElementsProject/ci/buf-check-separation
Browse files Browse the repository at this point in the history
refine triggers
  • Loading branch information
YusukeShimizu authored Feb 18, 2025
2 parents 73e8c75 + e3f7fdc commit 75d6626
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/buf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Buf

on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
branches: [master]

jobs:
buf-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-action@v1
13 changes: 1 addition & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,12 @@ on:
branches:
- master
pull_request:
branches: [master]
types: [opened, synchronize, reopened]

env:
SLOW_MACHINE: 1

jobs:
buf:
runs-on: ubuntu-latest

steps:
# Run `git checkout`
- name: Checkout code
uses: actions/checkout@v4
# Run the `buf` CLI
- name: Buf Action
uses: bufbuild/buf-action@v1

unit-tests:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 75d6626

Please sign in to comment.