Skip to content

Update bonk.yml

Update bonk.yml #5

Workflow file for this run

name: Test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.20', '1.21', '1.22', '1.23']
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Verify formatting
run: test -z "$(gofmt -l .)"
- name: Run go vet
run: go vet ./...
- name: Run tests
run: go test -v -race ./...