diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index dffeb2dc1..fd8c9c604 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -104,7 +104,7 @@ jobs: TARGET_VERSION=$TAG bash tools/workflow/docker-version-compare.sh - name: Cache packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: ${{ env.PACKAGE_CACHE_KEY }} path: ${{ env.PACKAGING_ROOT }} @@ -117,13 +117,13 @@ jobs: - name: Cache if success id: release-to-s3 - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: release-to-s3-${{ github.run_id }} path: VERSION - name: Restore cached packages - uses: actions/cache@v3 + uses: actions/cache@v4 if: steps.release-to-s3.outputs.cache-hit != 'true' with: key: ${{ env.PACKAGE_CACHE_KEY }} @@ -152,7 +152,7 @@ jobs: - name: Cache if success id: release-version-image - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: release-version-image-${{ github.run_id }} path: VERSION @@ -204,7 +204,7 @@ jobs: steps: - name: Cache if success id: release-ssm - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: release-ssm-${{ github.run_id }} path: VERSION diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4e3fec755..2c03bff5c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -119,7 +119,7 @@ jobs: - name: Build aotutil run: cd testing-framework/cmd/aotutil && make build - name: Cache aotutil - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "aotutil_${{ hashFiles('testing-framework/cmd/aotutil/*.go') }}_${{ hashFiles('testing-framework/cmd/aotutil/go.sum') }}" path: testing-framework/cmd/aotutil/aotutil @@ -170,7 +170,7 @@ jobs: - name: Cache binaries id: cached_binaries - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_binaries_${{ github.run_id }}" path: build @@ -277,14 +277,14 @@ jobs: - name: Cache rpms id: cached_rpms - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_rpms_${{ github.run_id }}" path: "${{ env.PACKAGING_ROOT }}" - name: restore cached binaries if: steps.cached_rpms.outputs.cache-hit != 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_binaries_${{ github.run_id }}" path: build @@ -337,14 +337,14 @@ jobs: - name: Cache Debs id: cached_debs - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_debs_${{ github.run_id }}" path: ${{ env.PACKAGING_ROOT }} - name: restore cached binaries if: steps.cached_debs.outputs.cache-hit != 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_binaries_${{ github.run_id }}" path: build @@ -393,7 +393,7 @@ jobs: - name: Restore cached Debs if: ${{ needs.changes.outputs.changed == 'true' }} - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_debs_${{ github.run_id }}" path: ${{ env.PACKAGING_ROOT }} @@ -412,21 +412,21 @@ jobs: - name: Cache SSM files id: cached_ssm - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_ssm_${{ github.run_id }}" path: "${{ env.PACKAGING_ROOT }}/ssm" - name: Restore cached rpms if: steps.cached_ssm.outputs.cache-hit != 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_rpms_${{ github.run_id }}" path: "${{ env.PACKAGING_ROOT }}" - name: Restore cached debs if: steps.cached_ssm.outputs.cache-hit != 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_debs_${{ github.run_id }}" path: "${{ env.PACKAGING_ROOT }}" @@ -458,21 +458,21 @@ jobs: - name: Cache the packages id: cached_packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_packages_${{ github.run_id }}" path: "${{ env.PACKAGING_ROOT }}" - name: Restore cached rpms if: steps.cached_packages.outputs.cache-hit != 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_rpms_${{ github.run_id }}" path: "${{ env.PACKAGING_ROOT }}" - name: Restore cached debs if: steps.cached_packages.outputs.cache-hit != 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_debs_${{ github.run_id }}" path: "${{ env.PACKAGING_ROOT }}" @@ -486,7 +486,7 @@ jobs: - name: Restore cached ssm if: steps.cached_packages.outputs.cache-hit != 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_ssm_${{ github.run_id }}" path: "${{ env.PACKAGING_ROOT }}/ssm" @@ -513,21 +513,21 @@ jobs: - name: Cache if success id: e2etest-release - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | VERSION key: e2etest-release-${{ github.run_id }} - name: restore cached rpms - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_packages_${{ github.run_id }}" path: "${{ env.PACKAGING_ROOT }}" - name: Restore cached binaries if: steps.e2etest-release.outputs.cache-hit != 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_binaries_${{ github.run_id }}" path: build @@ -677,7 +677,7 @@ jobs: run: echo "ttldate=$(date -u -d "+7 days" +%s)" >> $GITHUB_OUTPUT - name: Restore aotutil - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "aotutil_${{ hashFiles('testing-framework/cmd/aotutil/*.go') }}_${{ hashFiles('testing-framework/cmd/aotutil/go.sum') }}" path: testing-framework/cmd/aotutil/aotutil @@ -764,7 +764,7 @@ jobs: - name: restore cached packages id: cache_packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: "${{ env.PACKAGING_ROOT }}" key: "cached_packages_${{ github.run_id }}" @@ -836,7 +836,7 @@ jobs: aws-region: us-west-2 - name: restore cached packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: "${{ env.PACKAGING_ROOT }}" key: "cached_packages_${{ github.run_id }}" diff --git a/.github/workflows/PR-build.yml b/.github/workflows/PR-build.yml index b70be4479..9d0c34da9 100644 --- a/.github/workflows/PR-build.yml +++ b/.github/workflows/PR-build.yml @@ -155,7 +155,7 @@ jobs: - name: Cache binaries id: cached_binaries if: ${{ needs.changes.outputs.changed == 'true' }} - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_binaries_${{ github.run_id }}" path: build @@ -219,7 +219,7 @@ jobs: - name: restore cached binaries if: ${{ needs.changes.outputs.changed == 'true' }} - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_binaries_${{ github.run_id }}" path: build @@ -245,14 +245,14 @@ jobs: - name: Restore cached binaries if: ${{ needs.changes.outputs.changed == 'true' }} - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_binaries_${{ github.run_id }}" path: build - name: Cache built debian if: ${{ needs.changes.outputs.changed == 'true' }} - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_deb_${{ github.run_id }}" path: build/packages/debian @@ -273,7 +273,7 @@ jobs: - name: Restore cached deb if: ${{ needs.changes.outputs.changed == 'true' }} - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_deb_${{ github.run_id }}" path: build/packages/debian @@ -343,7 +343,7 @@ jobs: - name: restore cached binaries if: ${{ needs.changes.outputs.changed == 'true' }} - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "cached_binaries_${{ github.run_id }}" path: build diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index 068f8cb99..15e71d246 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -62,7 +62,7 @@ jobs: - name: Build aotutil run: cd testing-framework/cmd/aotutil && make build - name: Cache aotutil - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "aotutil_${{ github.run_id }}" path: testing-framework/cmd/aotutil/aotutil @@ -122,7 +122,7 @@ jobs: ref: ${{ needs.create-test-ref.outputs.testRef }} - name: Restore aoutil - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "aotutil_${{ github.run_id }}" path: testing-framework/cmd/aotutil/aotutil diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml index 1b54f19bd..f651ee9aa 100644 --- a/.github/workflows/perf.yml +++ b/.github/workflows/perf.yml @@ -126,7 +126,7 @@ jobs: path: testing-framework ref: ${{ needs.create-test-ref.outputs.testRef }} - name: Cache aotutil - uses: actions/cache@v3 + uses: actions/cache@v4 id: cache with: key: "aotutil_${{ hashFiles('testing-framework/cmd/aotutil/*.go') }}_${{ hashFiles('testing-framework/cmd/aotutil/go.sum') }}" @@ -178,7 +178,7 @@ jobs: ref: ${{ needs.create-test-ref.outputs.testRef }} - name: Restore aotutil - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: "aotutil_${{ hashFiles('testing-framework/cmd/aotutil/*.go') }}_${{ hashFiles('testing-framework/cmd/aotutil/go.sum') }}" path: testing-framework/cmd/aotutil/aotutil