Using `tparse` for nicer CI test display (#251)

This commit is contained in:
Christian Banse 2022-11-29 16:00:41 +01:00 committed by GitHub
parent 2101c1f4bc
commit 2f0984a28b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

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