Skip to content

Commit

Permalink
github.workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
simeonsteward-wk committed Mar 21, 2024
1 parent a03a95c commit 669178f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,18 @@ jobs:
run: |
cd go/src/github.com/Workiva/go-datastructures
go test ./... | tee ${{github.workspace}}/go-test.txt
cd ${{github.workspace}}
mkdir artifacts
- name: XML output
run: |
go2xunit -input ${{github.workspace}}/go-test.txt -output /artifacts/tests_go_version-${{ matrix.go }}.xml
go2xunit -input ./go-test.txt -output ./artifacts/tests_go_version-${{ matrix.go }}.xml
- name: Upload Test Results
uses: actions/upload-artifact@v2
with:
name: go-datastructures tests
path: /artifacts/tests_go_version-${{ matrix.go }}.xml
path: ./artifacts/tests_go_version-${{ matrix.go }}.xml

- uses: anchore/sbom-action@v0
with:
Expand Down

0 comments on commit 669178f

Please sign in to comment.