Skip to content

Commit e523c9c

Browse files
committed
update github workflows
1 parent 9046c5c commit e523c9c

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/push.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
with:
2222
fetch-depth: 0
2323

24-
- uses: bufbuild/buf-setup-action@35c243d7f2a909b1d4e40399b348a7fdab27d78d # v1.34.0
25-
- uses: bufbuild/buf-push-action@a654ff18effe4641ebea4a4ce242c49800728459 # v1.2.0
24+
- uses: bufbuild/buf-action@d4b43256b3a511e94e6c0d38d478e1bd39f8690e # v1.0.1
2625
with:
26+
push: true
2727
buf_token: ${{ secrets.BUF_TOKEN }}
2828
- name: Send PagerDuty alert on failure
2929
if: ${{ failure() }}

.github/workflows/review.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,23 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
16+
- uses: bufbuild/buf-action@d4b43256b3a511e94e6c0d38d478e1bd39f8690e # v1.0.1
1617
with:
17-
fetch-depth: 0
18-
- uses: bufbuild/buf-setup-action@35c243d7f2a909b1d4e40399b348a7fdab27d78d # v1.34.0
19-
- uses: bufbuild/buf-lint-action@06f9dd823d873146471cfaaf108a993fe00e5325 # v1.1.1
20-
- uses: bufbuild/buf-breaking-action@c57b3d842a5c3f3b454756ef65305a50a587c5ba # v1.1.4
21-
with:
22-
# The 'main' branch of the GitHub repository that defines the module.
23-
against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=${GITHUB_BASE_REF}"
24-
- run: buf format -d --exit-code
18+
format: true
19+
lint: true
20+
breaking: true
21+
breaking_against: .git#branch=main
2522

2623
diff-openapi:
2724
runs-on: ubuntu-latest
2825
steps:
2926
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
3027
with:
3128
fetch-depth: 0
32-
- uses: bufbuild/buf-setup-action@35c243d7f2a909b1d4e40399b348a7fdab27d78d # v1.34.0
29+
# Install BUF CLI
30+
- uses: bufbuild/buf-action@d4b43256b3a511e94e6c0d38d478e1bd39f8690e # v1.0.1
31+
with:
32+
setup_only: true
3333
- name: "Generate OpenAPI & Diff"
3434
run: |
3535
make all

0 commit comments

Comments
 (0)