Skip to content

Commit d4ce077

Browse files
committed
more caching
1 parent 5f6c7ea commit d4ce077

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/ci-near-contract.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
working-directory: target_chains/near/receiver
2323
steps:
2424
- uses: actions/checkout@v2
25+
- uses: Swatinem/rust-cache@v2
26+
with:
27+
workspaces: "target_chains/near/receiver -> target"
2528
- name: Test
2629
run: ./workspace-test.sh
2730
reproducible-build:

.github/workflows/ci-sui-contract.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,11 @@ jobs:
1818
working-directory: target_chains/sui/contracts/
1919
steps:
2020
- uses: actions/checkout@v3
21-
- uses: Swatinem/rust-cache@v2
21+
- uses: taiki-e/cache-cargo-install-action@v2
2222
with:
23-
workspaces: "target_chains/sui/contracts -> target"
24-
25-
- name: Update rust
26-
run: rustup update stable
27-
28-
- name: Install Sui CLI
29-
run: cargo install --locked --git https://github.com/MystenLabs/sui.git --rev 041c5f2bae2fe52079e44b70514333532d69f4e6 sui
23+
tool: sui
24+
git: https://github.com/MystenLabs/sui.git
25+
rev: 041c5f2bae2fe52079e44b70514333532d69f4e6
3026

3127
- name: Run tests
3228
run: sui move test

0 commit comments

Comments
 (0)