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 11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- uses : actions/checkout@v2
14
+ - uses : Swatinem/rust-cache@v2
15
+ with :
16
+ workspaces : " apps/fortuna -> target"
14
17
- uses : actions-rs/toolchain@v1
15
18
with :
16
19
profile : minimal
Original file line number Diff line number Diff line change 16
16
steps :
17
17
- name : Checkout sources
18
18
uses : actions/checkout@v3
19
+ - uses : Swatinem/rust-cache@v2
20
+ with :
21
+ workspaces : " pythnet/message_buffer -> target"
19
22
- uses : actions-rs/toolchain@v1
20
23
with :
21
24
profile : minimal
Original file line number Diff line number Diff line change 22
22
working-directory : target_chains/near/receiver
23
23
steps :
24
24
- uses : actions/checkout@v2
25
+ - uses : Swatinem/rust-cache@v2
26
+ with :
27
+ workspaces : " target_chains/near/receiver -> target"
25
28
- name : Test
26
29
run : ./workspace-test.sh
27
30
reproducible-build :
Original file line number Diff line number Diff line change 20
20
working-directory : target_chains/solana
21
21
steps :
22
22
- uses : actions/checkout@v2
23
+ - uses : Swatinem/rust-cache@v2
24
+ with :
25
+ workspaces : " target_chains/solana -> target"
23
26
- uses : actions-rs/toolchain@v1
24
27
with :
25
28
profile : minimal
Original file line number Diff line number Diff line change @@ -17,15 +17,16 @@ jobs:
17
17
working-directory : target_chains/sui/contracts/
18
18
steps :
19
19
- uses : actions/checkout@v3
20
- - uses : Swatinem/rust-cache@v2
20
+ - uses : actions-rs/toolchain@v1
21
21
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
29
30
30
31
- name : Run tests
31
32
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