Skip to content

Commit

Permalink
ci: fix go test command to include tee for result.json
Browse files Browse the repository at this point in the history
output
  • Loading branch information
vvatanabe committed Dec 3, 2023
1 parent e35da32 commit 20d5f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
version: latest
- name: Test
run: go test -race -json -covermode=atomic -coverprofile=cover.out -p=10 ./... > result.json
run: go test -race -json -covermode=atomic -coverprofile=cover.out -p=10 ./... | tee result.json
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
Expand Down

0 comments on commit 20d5f48

Please sign in to comment.