name: CI on: - pull_request jobs: check-and-test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: tidy run: go mod tidy - name: lint uses: golangci/golangci-lint-action@v3 with: args: -D errcheck version: latest - name: build run: go build ./... - name: test run: go test -race -v -shuffle=on ./...