From 1ec7f107e3c706daedfcfaf4632f66e9e06c80ee Mon Sep 17 00:00:00 2001 From: Simeon Steward Date: Fri, 22 Mar 2024 13:19:27 -0500 Subject: [PATCH 1/2] Fix lack of write perms --- .github/workflows/tests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 835c761..896c4ab 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,7 +52,7 @@ 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 path: ./artifacts/tests_go_version-${{ matrix.go }}.xml From 3fa008a7e132f43e854eb572bcbfc90ea948fe1c Mon Sep 17 00:00:00 2001 From: Simeon Steward Date: Fri, 22 Mar 2024 13:30:42 -0500 Subject: [PATCH 2/2] different name artifact --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 896c4ab..874902e 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -54,7 +54,7 @@ jobs: - name: Upload Test Results 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