diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d4024f..cea5f11 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,6 +33,8 @@ jobs: uses: actions/setup-go@v3 with: go-version: "${{ matrix.go }}" + check-latest: true + cache: true - name: Check Go code formatting run: | if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then @@ -42,6 +44,7 @@ jobs: fi - name: Build run: | + go install github.com/mfridman/tparse@latest go vet ./... - go test -v ./... + go test -v -race -count=1 -json -coverpkg=$(go list ./...) ./... | tparse -follow -notests go build ./...