Skip to content

build(deps): bump google.golang.org/protobuf from 1.28.0 to 1.33.0 in /examples/protoc #517

build(deps): bump google.golang.org/protobuf from 1.28.0 to 1.33.0 in /examples/protoc

build(deps): bump google.golang.org/protobuf from 1.28.0 to 1.33.0 in /examples/protoc #517

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- main
- release/*
paths-ignore:
- '**.md'
- 'docs/mkdocs.yml'
jobs:
test:
name: unit
strategy:
matrix:
go-version:
- 1.19
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
# Set cache paths.
- id: go-cache-paths
run: |
echo "::set-output name=go-build::$(go env GOCACHE)"
echo "::set-output name=go-mod::$(go env GOMODCACHE)"
# Cache builds; speedup tests.
- name: Build Cache
uses: actions/cache@v3
with:
path: ${{ steps.go-cache-paths.outputs.go-build }}
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
# Cache modules; speedup builds.
- name: Module Cache
uses: actions/cache@v3
with:
path: ${{ steps.go-cache-paths.outputs.go-mod }}
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
- name: Run Tests
run: go test -race -coverprofile=coverage.out ./...