Skip to content

Commit a01fc38

Browse files
Merge remote-tracking branch 'origin/devin/1738961031-update-ci-workflow-triggers' into devin/1738961031-update-ci-workflow-triggers
2 parents 21031ab + 0a561ab commit a01fc38

File tree

6 files changed

+23
-8
lines changed

6 files changed

+23
-8
lines changed

.github/workflows/ci-fortuna.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ jobs:
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

.github/workflows/ci-message-buffer-idl.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
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

.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-solana-contract.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
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

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

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff 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
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[toolchain]
2+
channel = "1.77.0"

0 commit comments

Comments
 (0)