File tree Expand file tree Collapse file tree 6 files changed +23
-8
lines changed
target_chains/sui/contracts Expand file tree Collapse file tree 6 files changed +23
-8
lines changed Original file line number Diff line number Diff line change 1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v2
14+ - uses : Swatinem/rust-cache@v2
15+ with :
16+ workspaces : " apps/fortuna -> target"
1417 - uses : actions-rs/toolchain@v1
1518 with :
1619 profile : minimal
Original file line number Diff line number Diff line change 1616 steps :
1717 - name : Checkout sources
1818 uses : actions/checkout@v3
19+ - uses : Swatinem/rust-cache@v2
20+ with :
21+ workspaces : " pythnet/message_buffer -> target"
1922 - uses : actions-rs/toolchain@v1
2023 with :
2124 profile : minimal
Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change 2020 working-directory : target_chains/solana
2121 steps :
2222 - uses : actions/checkout@v2
23+ - uses : Swatinem/rust-cache@v2
24+ with :
25+ workspaces : " target_chains/solana -> target"
2326 - uses : actions-rs/toolchain@v1
2427 with :
2528 profile : minimal
Original file line number Diff line number Diff line change @@ -17,15 +17,16 @@ jobs:
1717 working-directory : target_chains/sui/contracts/
1818 steps :
1919 - uses : actions/checkout@v3
20- - uses : Swatinem/rust-cache@v2
20+ - uses : actions-rs/toolchain@v1
2121 with :
22- workspaces : " target_chains/sui/contracts -> target"
23-
24- - name : Update rust
25- run : rustup update stable
26-
27- - name : Install Sui CLI
28- run : cargo install --locked --git https://github.com/MystenLabs/sui.git --rev 041c5f2bae2fe52079e44b70514333532d69f4e6 sui
22+ profile : minimal
23+ toolchain : 1.77.0
24+ override : true
25+ - uses : taiki-e/cache-cargo-install-action@v2
26+ with :
27+ tool : sui
28+ git : https://github.com/MystenLabs/sui.git
29+ rev : 041c5f2bae2fe52079e44b70514333532d69f4e6
2930
3031 - name : Run tests
3132 run : sui move test
Original file line number Diff line number Diff line change 1+ [toolchain ]
2+ channel = " 1.77.0"
You can’t perform that action at this time.
0 commit comments