Skip to content

Commit 5a83237

Browse files
authored
Use github summary.
1 parent 938fc0e commit 5a83237

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/go.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010

11-
build:
11+
build-and-test:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v3
@@ -22,4 +22,7 @@ jobs:
2222
run: go build -v ./...
2323

2424
- name: Test
25-
run: go test -v ./...
25+
run: |
26+
go install github.com/mfridman/tparse@latest
27+
set -o pipefail && go test ./... -json | tparse -all >> $GITHUB_STEP_SUMMARY
28+
echo $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)