diff --git a/.github/actions/trivy/action.yaml b/.github/actions/trivy/action.yaml index 7a24b4525f..70282f0c68 100644 --- a/.github/actions/trivy/action.yaml +++ b/.github/actions/trivy/action.yaml @@ -84,7 +84,7 @@ runs: # Install Trivy as requested. # NOTE: `setup-trivy` can download a "latest" version but cannot cache it. - if: ${{ ! contains(fromJSON(steps.parsed.outputs.setup), 'none') }} - uses: aquasecurity/setup-trivy@v0.2.4 + uses: aquasecurity/setup-trivy@v0.2.5 with: cache: ${{ contains(fromJSON(steps.parsed.outputs.setup), 'cache') }} version: ${{ steps.parsed.outputs.version }} @@ -92,7 +92,7 @@ runs: # Restore a recent cache beginning with the prefix. - id: restore if: ${{ contains(fromJSON(steps.parsed.outputs.cache), 'restore') }} - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: ${{ inputs.cache-directory }} key: ${{ inputs.cache-prefix }}- @@ -132,7 +132,7 @@ runs: (contains(fromJSON(steps.parsed.outputs.cache), 'success') && success()) ) }} - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{ steps.trivy.outputs.cache-key }} path: ${{ inputs.cache-directory }} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 701ecbb1c6..eafd89ff00 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -40,7 +40,7 @@ jobs: # Upload coverage to GitHub - run: gzip envtest.coverage - - uses: actions/upload-artifact@v5 + - uses: actions/upload-artifact@v6 with: name: "~coverage~kubernetes-api=${{ matrix.kubernetes }}" path: envtest.coverage.gz @@ -75,7 +75,7 @@ jobs: # Upload coverage to GitHub - run: gzip envtest-existing.coverage - - uses: actions/upload-artifact@v5 + - uses: actions/upload-artifact@v6 with: name: "~coverage~kubernetes-k3d=${{ matrix.kubernetes }}" path: envtest-existing.coverage.gz @@ -215,7 +215,7 @@ jobs: - uses: actions/checkout@v6 - uses: actions/setup-go@v6 with: { go-version: stable } - - uses: actions/download-artifact@v6 + - uses: actions/download-artifact@v7 with: { path: download } # Combine the coverage profiles by taking the mode line from any one file @@ -239,7 +239,7 @@ jobs: # Upload coverage to GitHub - run: gzip total-coverage.html - - uses: actions/upload-artifact@v5 + - uses: actions/upload-artifact@v6 with: name: coverage-report=html path: total-coverage.html.gz