From 2f0984a28be854685a0b59b71d597f10f2c49cff Mon Sep 17 00:00:00 2001 From: Christian Banse Date: Tue, 29 Nov 2022 16:00:41 +0100 Subject: [PATCH] Using `tparse` for nicer CI test display (#251) --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 ./...