diff --git a/.github/workflows/update-attributions.yml b/.github/workflows/update-attributions.yml index 3449604520a4..3e107d324216 100644 --- a/.github/workflows/update-attributions.yml +++ b/.github/workflows/update-attributions.yml @@ -85,7 +85,7 @@ jobs: - name: Generate Attributions run: yarn attributions:generate - name: Cache attributions file - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 with: path: attribution.txt key: cache-build-${{ needs.prepare.outputs.COMMIT_SHA }} @@ -113,7 +113,7 @@ jobs: id: commit-sha run: echo "COMMIT_SHA=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT" - name: Restore attributions file - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: attribution.txt key: cache-build-${{ needs.prepare.outputs.COMMIT_SHA }} diff --git a/.github/workflows/update-lavamoat-policies.yml b/.github/workflows/update-lavamoat-policies.yml index c9d365f1a6ce..1baef7fb4460 100644 --- a/.github/workflows/update-lavamoat-policies.yml +++ b/.github/workflows/update-lavamoat-policies.yml @@ -82,7 +82,7 @@ jobs: - name: Update LavaMoat build policy run: yarn lavamoat:build:auto - name: Cache build policy - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 with: path: lavamoat/build-system key: cache-build-${{ needs.prepare.outputs.COMMIT_SHA }} @@ -109,7 +109,7 @@ jobs: - name: Setup environment uses: metamask/github-tools/.github/actions/setup-environment@main - name: Restore build policy - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: lavamoat/build-system key: cache-build-${{ needs.prepare.outputs.COMMIT_SHA }} @@ -119,7 +119,7 @@ jobs: env: INFURA_PROJECT_ID: 00000000000 - name: Cache ${{ matrix.build-type }} application policy - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 with: path: lavamoat/browserify/${{ matrix.build-type }} key: cache-${{ matrix.build-type }}-${{ needs.prepare.outputs.COMMIT_SHA }} @@ -149,7 +149,7 @@ jobs: id: commit-sha run: echo "COMMIT_SHA=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT" - name: Restore build policy - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: lavamoat/build-system key: cache-build-${{ needs.prepare.outputs.COMMIT_SHA }} @@ -158,25 +158,25 @@ jobs: # Ensure this is synchronized with the list above in the "update-lavamoat-webapp-policy" job # and with the build type list in `builds.yml` - name: Restore main application policy - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: lavamoat/browserify/main key: cache-main-${{ needs.prepare.outputs.COMMIT_SHA }} fail-on-cache-miss: true - name: Restore beta application policy - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: lavamoat/browserify/beta key: cache-beta-${{ needs.prepare.outputs.COMMIT_SHA }} fail-on-cache-miss: true - name: Restore flask application policy - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: lavamoat/browserify/flask key: cache-flask-${{ needs.prepare.outputs.COMMIT_SHA }} fail-on-cache-miss: true - name: Restore mmi application policy - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: lavamoat/browserify/mmi key: cache-mmi-${{ needs.prepare.outputs.COMMIT_SHA }}