diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 163dc5cd404..30c112882db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -177,7 +177,7 @@ jobs: run: npm run build --workspace @puppeteer-test/test - name: Setup cache for Chrome binary if: ${{ matrix.suite != 'chrome-bidi' }} - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 with: path: ~/.cache/puppeteer/chrome key: ${{ runner.os }}-Chrome-${{ hashFiles('packages/puppeteer-core/src/revisions.ts') }}-${{ hashFiles('packages/puppeteer/src/node/install.ts') }} @@ -186,7 +186,7 @@ jobs: run: npm run postinstall - name: Setup cache for Chrome Canary binary if: ${{ matrix.suite == 'chrome-bidi' }} - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 with: path: ~/.cache/puppeteer/chrome-canary key: ${{ runner.os }}-Chrome-Canary-${{ hashFiles('package.json') }} @@ -269,7 +269,7 @@ jobs: - name: Build packages run: npm run build --workspace @puppeteer-test/test - name: Setup cache for Firefox binary - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 with: path: ~/.cache/puppeteer/firefox key: ${{ runner.os }}-firefox-${{ hashFiles('packages/puppeteer-core/src/revisions.ts') }}-${{ hashFiles('packages/puppeteer/src/node/install.ts') }} @@ -468,7 +468,7 @@ jobs: env: PUPPETEER_SKIP_DOWNLOAD: true - name: Setup cache for Chrome binary - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 with: path: ~/.cache/puppeteer/chrome key: ${{ runner.os }}-Chrome-${{ hashFiles('packages/puppeteer-core/src/revisions.ts') }}-${{ hashFiles('packages/puppeteer/src/node/install.ts') }} diff --git a/.github/workflows/deflake.yml b/.github/workflows/deflake.yml index c1c684d5ed7..b7cc86a90de 100644 --- a/.github/workflows/deflake.yml +++ b/.github/workflows/deflake.yml @@ -67,7 +67,7 @@ jobs: run: npm run build -w @puppeteer-test/test - name: Setup cache for Chrome binary if: ${{ inputs.suite != 'chrome-bidi' }} - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 with: path: ~/.cache/puppeteer/chrome key: ${{ runner.os }}-Chrome-${{ hashFiles('packages/puppeteer-core/src/revisions.ts') }}-${{ hashFiles('packages/puppeteer/src/node/install.ts') }} @@ -76,7 +76,7 @@ jobs: run: npm run postinstall - name: Setup cache for Chrome Canary binary if: ${{ inputs.suite == 'chrome-bidi' }} - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 with: path: ~/.cache/puppeteer/chrome-canary key: ${{ runner.os }}-Chrome-Canary-${{ hashFiles('package.json') }} @@ -123,7 +123,7 @@ jobs: - name: Build packages run: npm run build -w @puppeteer-test/test - name: Setup cache for Firefox binary - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 with: path: ~/.cache/puppeteer/firefox key: ${{ runner.os }}-firefox-${{ hashFiles('packages/puppeteer-core/src/revisions.ts') }}-${{ hashFiles('packages/puppeteer/src/node/install.ts') }}