Skip to content

Update test workflow #10

Update test workflow

Update test workflow #10

Workflow file for this run

name: Go
on:
push:
branches: ['*']
pull_request:
branches: ['*']
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go:
- 'stable'
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '${{ matrix.go }}'
check-latest: true
cache-dependency-path: ./go.sum
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -race -cover ./...
- name: Bench
run: go test -bench .