chore(deps): update github-actions (major) #786
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: buf | |
on: | |
pull_request: | |
branches: [master] | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-24.04 | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: bufbuild/buf-setup-action@9672cee01808979ea1249f81d6d321217b9a10f6 # v1.47.2 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: check formatting | |
working-directory: src/Vfps | |
run: buf format --exit-code | |
- uses: bufbuild/buf-lint-action@06f9dd823d873146471cfaaf108a993fe00e5325 # v1.1.1 | |
with: | |
input: src/Vfps | |
# Doesn't currently work due to the weird file setup. Fails with: | |
# Error: Protos/vfps/api/v1/meta.proto: does not exist | |
# Error: Protos/vfps/api/v1/meta.proto: does not exist | |
# Error: google/api/http.proto: does not exist | |
# Error: buf found 3 breaking changes. | |
# - uses: bufbuild/buf-breaking-action@1cd949a5f7c5581990772f1e0c8a5270d7e4401b # tag=v1.1.1 | |
# with: | |
# input: src/Vfps | |
# against: "https://github.com/${{ github.repository }}.git#branch=master" |