build(deps): bump google.golang.org/protobuf from 1.34.2 to 1.35.1 #501
Workflow file for this run
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: Go | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
# Vet Go code | |
vet-go: | |
name: Vet Go code | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Vet Go code | |
run: go vet ./... | |
# Test with Go | |
test-go: | |
name: Test with Go | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
strategy: | |
matrix: | |
go-version: ["1.21", "1.22"] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install protoc | |
uses: arduino/setup-protoc@v3 | |
with: | |
version: "25.3" | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
check-latest: true | |
- name: Install Go tools | |
run: make tools | |
- name: Regenerate protos | |
run: make protos | |
- name: Vet Go code | |
run: go vet ./... | |
- name: Run Go tests | |
run: go test -v -race ./... | |
- name: Test Go without cgo | |
env: | |
CGO_ENABLED: 0 | |
run: go test -v ./... | |
- name: Verify repo is unchanged | |
run: git diff --exit-code HEAD -w -G'(^[^# /])|(^#\w)|(^\s+[^#/])' # Ignore whitespace and comments |