Skip to content

Commit

Permalink
chore(deps): bump actions/cache from 3 to 4
Browse files Browse the repository at this point in the history
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored Jan 18, 2024
1 parent c2b1f85 commit b901bbf
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
with:
submodules: true

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
- name: Cache of component.ckb-production-scripts
id: ckb-production-scripts-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: docker/build/ckb-production-scripts/build/omni_lock
key: component.omni_lock-${{ steps.prepare.outputs.ckb-production-scripts-sha1 }}
Expand All @@ -90,7 +90,7 @@ jobs:

- name: Cache of component.gwos
id: gwos-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
gwos/build/release/*
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
- name: Cache of component.gwos-evm
id: godwoken-polyjuice-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
gwos-evm/build/*generator*
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
with:
submodules: true

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand All @@ -186,15 +186,15 @@ jobs:
# see https://github.com/godwokenrises/godwoken/pull/946#discussion_r1068149031
- name: Cache of component.godwoken
id: godwoken-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
target/release/godwoken
target/release/gw-tools
key: ${{ runner.os }}-${{ runner.arch }}-${{ inputs.runner_type || 'ubuntu-20.04' }}-godwoken-${{ matrix.features || 'default' }}-${{ hashFiles('crates/**') }}
- name: Cache Godwoken target directory
if: steps.godwoken-cache.outputs.cache-hit != 'true'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
target
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gwos-evm-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
submodules: 'recursive'

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gwos-evm-fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
submodules: 'recursive'

- name: Cache Rust - Cargo
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand All @@ -38,15 +38,15 @@ jobs:
|| CARGO_TARGET_DIR=target/ cargo install moleculec --version $MOLC_VERSION
- name: Cache LLVM and Clang
id: cache-llvm
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ./llvm
key: clang-11
- name: Set the datetime
run: echo "DATETIME=$(date +%F_%H:%M)" >> $GITHUB_ENV
- name: Cache corpus
id: cache-corpus
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
gwos-evm/polyjuice-tests/fuzz/corpus-cache
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/prepare-builtin-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
submodules: true

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
# - name: Cache of component.gwos
# id: gwos-cache
# uses: actions/cache@v3
# uses: actions/cache@v4
# with:
# path: |
# gwos/build/release/*
Expand All @@ -61,7 +61,7 @@ jobs:

- name: Cache of component.gwos-evm
id: godwoken-polyjuice-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
gwos-evm/build/*generator*
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
with:
submodules: recursive
- name: Cache of Cargo
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
submodules: recursive

- name: Cache of Cargo
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand All @@ -56,7 +56,7 @@ jobs:
- name: Cache of component.gwos-evm
id: godwoken-polyjuice-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
gwos-evm/build/*generator*
Expand All @@ -82,7 +82,7 @@ jobs:
with:
submodules: recursive
- name: Cache of Cargo
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
submodules: recursive

- name: Cache of Cargo
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
working-directory: gwos/c
run: make

- uses: actions/cache@v3
- uses: actions/cache@v4
id: fetch-capsule-cache
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/web3-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
cargo fmt --version || rustup component add rustfmt
cargo clippy --version || rustup component add clippy
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/web3-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
- uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand Down

0 comments on commit b901bbf

Please sign in to comment.