Skip to content

Commit

Permalink
Improve Go test action in GitHub workflow
Browse files Browse the repository at this point in the history
Do not save the Go tests result to a JSON file. This is not necessary.
Test results shall be easily read on GitHub Actions page.
  • Loading branch information
antonyho committed Dec 4, 2023
1 parent 4dce1b0 commit 38a6ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
cache-dependency-path: go.sum

- name: Test
run: go test -v -json ./... > TestResults.json
run: go test -v -json ./...

- name: Upload test results
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 38a6ae2

Please sign in to comment.