diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 835c761..874902e 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -10,7 +10,7 @@ on: permissions: pull-requests: write - contents: read + contents: write id-token: write jobs: @@ -52,9 +52,9 @@ jobs: go2xunit -input ./go-test.txt -output ./artifacts/tests_go_version-${{ matrix.go }}.xml - name: Upload Test Results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: - name: go-datastructures tests + name: go-datastructures test go ${{ matrix.go }} path: ./artifacts/tests_go_version-${{ matrix.go }}.xml - uses: anchore/sbom-action@v0