Skip to content

chore(deps): update all non-major docker-compose dependencies #3921

chore(deps): update all non-major docker-compose dependencies

chore(deps): update all non-major docker-compose dependencies #3921

Workflow file for this run

name: Buf
on:
push:
branches: [ '*' ]
tags: [ 'v*' ]
pull_request:
permissions:
contents: read
pull-requests: read
env:
# renovate: datasource=docker depName=golang versioning=docker
GO_VERSION: '1.23'
# renovate: datasource=github-releases depName=bufbuild/buf
BUF_CLI_VERSION: '1.48.0'
# renovate: datasource=github-releases depName=favadi/protoc-go-inject-tag
PROTOC_GO_INJECT_TAG_VERSION: '1.4.0'
jobs:
lint-protos:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: bufbuild/[email protected]
with:
version: v${{ env.BUF_CLI_VERSION }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: bufbuild/buf-lint-action@v1
generate-protos:
runs-on: ubuntu-22.04
permissions:
contents: write
deployments: write
steps:
- uses: actions/checkout@v4
- uses: bufbuild/[email protected]
with:
version: v${{ env.BUF_CLI_VERSION }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- run: go install github.com/favadi/protoc-go-inject-tag@v${{ env.PROTOC_GO_INJECT_TAG_VERSION }}
- run: bash protos.sh
- name: Break if generated go modules are not checked in
# exits with 1 if there were differences, and 0 if there were none
run: git diff --quiet gen
- name: Upload docs
if: success() && github.ref == 'refs/heads/main'
uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: 'hw-proto-docs'
directory: 'proto_docs'
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
breakage:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: bufbuild/[email protected]
with:
github_token: ${{ github.token }}
# TODO (arm-versioning): Arm versioning by removing the comments of the following lines
# - uses: bufbuild/buf-breaking-action@v1
# with:
# against: 'https://github.com/${{ github.repository }}.git#branch=main'