Skip to content

Commit

Permalink
Merge pull request #297 from Brooooooklyn/renovate/actions-cache-2.x
Browse files Browse the repository at this point in the history
chore(deps): update actions/cache action to v2
  • Loading branch information
Brooooooklyn authored Jun 18, 2021
2 parents 1915c60 + fcabde7 commit ffe3d7a
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down Expand Up @@ -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') }}
Expand Down Expand Up @@ -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') }}
Expand Down Expand Up @@ -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') }}
Expand Down Expand Up @@ -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') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cargo-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/skia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down Expand Up @@ -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') }}
Expand Down Expand Up @@ -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') }}
Expand Down Expand Up @@ -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') }}
Expand Down Expand Up @@ -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') }}
Expand Down Expand Up @@ -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') }}
Expand Down

0 comments on commit ffe3d7a

Please sign in to comment.