diff --git a/.github/actions/trivy/action.yaml b/.github/actions/trivy/action.yaml index bcc67421cb..0ef56928c3 100644 --- a/.github/actions/trivy/action.yaml +++ b/.github/actions/trivy/action.yaml @@ -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 748bfec8a2..3a0d3bae40 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 @@ -214,7 +214,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 @@ -238,7 +238,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