Skip to content

Commit 2f0984a

Browse files
authored
Using tparse for nicer CI test display (#251)
1 parent 2101c1f commit 2f0984a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
uses: actions/setup-go@v3
3434
with:
3535
go-version: "${{ matrix.go }}"
36+
check-latest: true
37+
cache: true
3638
- name: Check Go code formatting
3739
run: |
3840
if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then
@@ -42,6 +44,7 @@ jobs:
4244
fi
4345
- name: Build
4446
run: |
47+
go install github.com/mfridman/tparse@latest
4548
go vet ./...
46-
go test -v ./...
49+
go test -v -race -count=1 -json -coverpkg=$(go list ./...) ./... | tparse -follow -notests
4750
go build ./...

0 commit comments

Comments
 (0)