diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 8aa6e762..7c0d80e1 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -7,7 +7,9 @@ on: name: test-coverage.yaml -permissions: read-all +permissions: + contents: read + id-token: write jobs: test-coverage: @@ -45,7 +47,7 @@ jobs: files: ./cobertura.xml plugins: noop disable_search: true - token: ${{ secrets.CODECOV_TOKEN }} + use_oidc: true - name: Show testthat output if: always() @@ -56,7 +58,7 @@ jobs: - name: Upload test results if: failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: coverage-test-failures path: ${{ runner.temp }}/package