From fcabde718e0024460db3c05e41684630ae259a27 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 17 Jun 2021 17:28:37 +0000 Subject: [PATCH] chore(deps): update actions/cache action to v2 --- .github/workflows/CI.yaml | 14 +++++++------- .github/workflows/bench.yml | 6 +++--- .github/workflows/cargo-test.yaml | 6 +++--- .github/workflows/lint.yml | 6 +++--- .github/workflows/skia.yaml | 12 ++++++------ 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 5daa5056..3527f56c 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -101,19 +101,19 @@ jobs: command: generate-lockfile - name: Cache cargo registry - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ~/.cargo/registry key: ${{ matrix.settings.target }}-node@14-cargo-registry-trimmed-${{ hashFiles('**/Cargo.lock') }} - name: Cache cargo index - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ~/.cargo/git key: ${{ matrix.settings.target }}-node@14-cargo-index-trimmed-${{ hashFiles('**/Cargo.lock') }} - name: Cache NPM dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: node_modules key: npm-cache-${{ matrix.settings.target }}-node@14-${{ hashFiles('yarn.lock') }} @@ -170,7 +170,7 @@ jobs: check-latest: true - name: Cache NPM dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: node_modules key: npm-cache-test-${{ matrix.settings.target }}-${{ matrix.node }}-${{ hashFiles('yarn.lock') }} @@ -218,7 +218,7 @@ jobs: check-latest: true - name: Cache NPM dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: node_modules key: npm-cache-test-linux-x64-gnu-${{ matrix.node }}-${{ hashFiles('yarn.lock') }} @@ -266,7 +266,7 @@ jobs: check-latest: true - name: Cache NPM dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: node_modules key: npm-cache-test-x86_64-unknown-linux-musl-${{ matrix.node }}-${{ hashFiles('yarn.lock') }} @@ -430,7 +430,7 @@ jobs: check-latest: true - name: Cache NPM dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: node_modules key: npm-cache-ubuntu-latest-${{ hashFiles('yarn.lock') }} diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 9048620d..570fd974 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -38,19 +38,19 @@ jobs: command: generate-lockfile - name: Cache cargo registry - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ~/.cargo/registry key: bench-cargo-registry-trimmed-${{ hashFiles('**/Cargo.lock') }} - name: Cache cargo index - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ~/.cargo/git key: bench-cargo-index-trimmed-${{ hashFiles('**/Cargo.lock') }} - name: Cache NPM dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: node_modules key: bench-${{ hashFiles('yarn.lock') }} diff --git a/.github/workflows/cargo-test.yaml b/.github/workflows/cargo-test.yaml index fd557c5f..f7ec4133 100644 --- a/.github/workflows/cargo-test.yaml +++ b/.github/workflows/cargo-test.yaml @@ -35,19 +35,19 @@ jobs: command: generate-lockfile - name: Cache cargo registry - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ~/.cargo/registry key: macOS-latest-cargo-test-node@14-cargo-registry-trimmed-${{ hashFiles('**/Cargo.lock') }} - name: Cache cargo index - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ~/.cargo/git key: macOS-latest-cargo-test-node@14-cargo-index-trimmed-${{ hashFiles('**/Cargo.lock') }} - name: Cache NPM dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: node_modules key: npm-cache-macOS-latest-cargo-test-node@14-${{ hashFiles('yarn.lock') }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e830d6a9..76735988 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -35,19 +35,19 @@ jobs: command: generate-lockfile - name: Cache cargo registry - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ~/.cargo/registry key: lint-cargo-registry-trimmed-${{ hashFiles('**/Cargo.lock') }} - name: Cache cargo index - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ~/.cargo/git key: lint-cargo-index-trimmed-${{ hashFiles('**/Cargo.lock') }} - name: Cache NPM dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: node_modules key: lint-${{ hashFiles('yarn.lock') }} diff --git a/.github/workflows/skia.yaml b/.github/workflows/skia.yaml index b9559dbd..29bc5b54 100644 --- a/.github/workflows/skia.yaml +++ b/.github/workflows/skia.yaml @@ -80,7 +80,7 @@ jobs: run: node ./scripts/build-skia.js - name: Cache NPM dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: node_modules key: npm-cache-${{ matrix.os }}-node@14-${{ hashFiles('yarn.lock') }} @@ -128,7 +128,7 @@ jobs: run: node ./scripts/build-skia.js --target=aarch64-apple-darwin - name: Cache NPM dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: node_modules key: npm-cache-apple-silicon-node@14-${{ hashFiles('yarn.lock') }} @@ -176,7 +176,7 @@ jobs: PYTHONHTTPSVERIFY: 0 - name: Cache NPM dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: node_modules key: npm-cache-linux-x64-musl-node@14-${{ hashFiles('yarn.lock') }} @@ -224,7 +224,7 @@ jobs: run: node ./scripts/build-skia.js --target=aarch64-unknown-linux-gnu - name: Cache NPM dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: node_modules key: npm-cache-aarch64-linux-node@14-${{ hashFiles('yarn.lock') }} @@ -272,7 +272,7 @@ jobs: run: node ./scripts/build-skia.js --target=armv7-unknown-linux-gnueabihf - name: Cache NPM dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: node_modules key: npm-cache-armv7-linux-node@14-${{ hashFiles('yarn.lock') }} @@ -317,7 +317,7 @@ jobs: run: node ./scripts/build-skia.js --target=aarch64-linux-android - name: Cache NPM dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: node_modules key: npm-cache-armv7-linux-node@14-${{ hashFiles('yarn.lock') }}