Skip to content

Merge pull request #37 from cybozu-go/bump-1.4.9 #70

Merge pull request #37 from cybozu-go/bump-1.4.9

Merge pull request #37 from cybozu-go/bump-1.4.9 #70

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@v5
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 .