Skip to content

Update dependencies #48

Update dependencies

Update dependencies #48

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- 'main'
jobs:
test:
name: Small test
strategy:
matrix:
os: ["ubuntu-22.04", "macos-latest"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
- run: test -z "$(gofmt -s -l . | tee /dev/stderr)"
- run: go build .
- run: go test -race -v -count 1 .
- run: go vet .
- name: staticcheck
run: |
mkdir -p bin
GOBIN=$(pwd)/bin go install honnef.co/go/tools/cmd/staticcheck@latest
./bin/staticcheck .