File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 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() }}
Original file line number Diff line number Diff line change @@ -15,21 +15,23 @@ jobs:
1515 - uses : actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
1616 with :
1717 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
18+ - uses : bufbuild/buf-action@d4b43256b3a511e94e6c0d38d478e1bd39f8690e # v1.0.1
2119 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
20+ format : true
21+ lint : true
22+ breaking : true
23+ breaking_against : .git#branch=main
2524
2625 diff-openapi :
2726 runs-on : ubuntu-latest
2827 steps :
2928 - uses : actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
3029 with :
3130 fetch-depth : 0
32- - uses : bufbuild/buf-setup-action@35c243d7f2a909b1d4e40399b348a7fdab27d78d # v1.34.0
31+ # Install BUF CLI
32+ - uses : bufbuild/buf-action@d4b43256b3a511e94e6c0d38d478e1bd39f8690e # v1.0.1
33+ with :
34+ setup_only : true
3335 - name : " Generate OpenAPI & Diff"
3436 run : |
3537 make all
You can’t perform that action at this time.
0 commit comments