Skip to content

build(deps): bump bufbuild/buf-setup-action from 1.28.1 to 1.41.0 #544

build(deps): bump bufbuild/buf-setup-action from 1.28.1 to 1.41.0

build(deps): bump bufbuild/buf-setup-action from 1.28.1 to 1.41.0 #544

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 ./...