Skip to content

build(deps): bump google.golang.org/grpc/cmd/protoc-gen-go-grpc from 1.5.0 to 1.5.1 #486

build(deps): bump google.golang.org/grpc/cmd/protoc-gen-go-grpc from 1.5.0 to 1.5.1

build(deps): bump google.golang.org/grpc/cmd/protoc-gen-go-grpc from 1.5.0 to 1.5.1 #486

Workflow file for this run

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