Skip to content

Commit 669178f

Browse files
github.workspace
1 parent a03a95c commit 669178f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: .github/workflows/tests.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,18 @@ jobs:
4444
run: |
4545
cd go/src/github.com/Workiva/go-datastructures
4646
go test ./... | tee ${{github.workspace}}/go-test.txt
47+
cd ${{github.workspace}}
48+
mkdir artifacts
4749
4850
- name: XML output
4951
run: |
50-
go2xunit -input ${{github.workspace}}/go-test.txt -output /artifacts/tests_go_version-${{ matrix.go }}.xml
52+
go2xunit -input ./go-test.txt -output ./artifacts/tests_go_version-${{ matrix.go }}.xml
5153
5254
- name: Upload Test Results
5355
uses: actions/upload-artifact@v2
5456
with:
5557
name: go-datastructures tests
56-
path: /artifacts/tests_go_version-${{ matrix.go }}.xml
58+
path: ./artifacts/tests_go_version-${{ matrix.go }}.xml
5759

5860
- uses: anchore/sbom-action@v0
5961
with:

0 commit comments

Comments
 (0)