File tree Expand file tree Collapse file tree 22 files changed +51
-67
lines changed Expand file tree Collapse file tree 22 files changed +51
-67
lines changed Original file line number Diff line number Diff line change 5
5
push :
6
6
branches :
7
7
- main
8
- paths :
9
- - target_chains/aptos/contracts/**
10
8
11
9
name : Aptos Contract
12
10
Original file line number Diff line number Diff line change 8
8
push :
9
9
branches :
10
10
- main
11
- paths :
12
- - target_chains/cosmwasm/**
13
- - wormhole_attester/sdk/rust/**
14
11
15
12
env :
16
13
CARGO_TERM_COLOR : always
Original file line number Diff line number Diff line change 6
6
push :
7
7
branches :
8
8
- main
9
- paths :
10
- - target_chains/ethereum/contracts/**
11
- - governance/xc_admin/packages/xc_admin_common/**
12
9
13
10
name : Ethereum Contract
14
11
Original file line number Diff line number Diff line change @@ -2,15 +2,18 @@ name: Check Fortuna
2
2
3
3
on :
4
4
pull_request :
5
- paths : [apps/fortuna/**]
5
+ paths :
6
+ - apps/fortuna/**
6
7
push :
7
8
branches : [main]
8
- paths : [apps/fortuna/**]
9
9
jobs :
10
10
test :
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 7
7
push :
8
8
branches :
9
9
- main
10
- paths :
11
- - target_chains/ethereum/sdk/stylus/**
12
10
env :
13
11
FOUNDRY_PROFILE : ci
14
12
jobs :
Original file line number Diff line number Diff line change 7
7
push :
8
8
branches :
9
9
- main
10
- paths :
11
- - target_chains/fuel/**
12
10
13
11
env :
14
12
CARGO_TERM_COLOR : always
21
19
working-directory : target_chains/fuel/contracts/
22
20
steps :
23
21
- uses : actions/checkout@v2
22
+ - uses : Swatinem/rust-cache@v2
23
+ with :
24
+ workspaces : " target_chains/fuel/contracts -> target"
24
25
- name : Install Fuel toolchain
25
26
run : |
26
27
curl https://install.fuel.network | sh
Original file line number Diff line number Diff line change @@ -2,15 +2,18 @@ name: Check Hermes Server
2
2
3
3
on :
4
4
pull_request :
5
- paths : [apps/hermes/server/**]
5
+ paths :
6
+ - apps/hermes/server/**
6
7
push :
7
8
branches : [main]
8
- paths : [apps/hermes/server/**]
9
9
jobs :
10
10
test :
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/hermes/server -> 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 3
3
push :
4
4
branches :
5
5
- main
6
- paths :
7
- - lazer/**
8
6
pull_request :
9
7
paths :
10
8
- lazer/**
23
21
- uses : actions-rust-lang/setup-rust-toolchain@v1
24
22
with :
25
23
toolchain : 1.81.0
24
+ - uses : Swatinem/rust-cache@v2
25
+ with :
26
+ workspaces : " lazer -> target"
26
27
- name : Install Foundry
27
28
uses : foundry-rs/foundry-toolchain@v1
28
29
- name : install extra tools
Original file line number Diff line number Diff line change 3
3
push :
4
4
branches :
5
5
- main
6
- paths :
7
- - lazer/contracts/evm/**
8
6
pull_request :
9
7
paths :
10
8
- lazer/contracts/evm/**
Original file line number Diff line number Diff line change 3
3
push :
4
4
branches :
5
5
- main
6
- paths :
7
- - lazer/**
8
6
pull_request :
9
7
paths :
10
8
- lazer/**
Original file line number Diff line number Diff line change 6
6
push :
7
7
branches :
8
8
- main
9
- paths :
10
- - pythnet/message_buffer/**
11
9
jobs :
12
10
abi-check :
13
11
name : Check Message Buffer IDL files are up to date
18
16
steps :
19
17
- name : Checkout sources
20
18
uses : actions/checkout@v3
19
+ - uses : Swatinem/rust-cache@v2
20
+ with :
21
+ workspaces : " pythnet/message_buffer -> target"
21
22
- uses : actions-rs/toolchain@v1
22
23
with :
23
24
profile : minimal
Original file line number Diff line number Diff line change 9
9
push :
10
10
branches :
11
11
- main
12
- paths :
13
- - target_chains/near/**
14
- - wormhole_attester/sdk/rust/**
15
- - .github/workflows/ci-near-contract.yml
16
12
17
13
env :
18
14
CARGO_TERM_COLOR : always
26
22
working-directory : target_chains/near/receiver
27
23
steps :
28
24
- uses : actions/checkout@v2
25
+ - uses : Swatinem/rust-cache@v2
26
+ with :
27
+ workspaces : " target_chains/near/receiver -> target"
29
28
- name : Test
30
29
run : ./workspace-test.sh
31
30
reproducible-build :
36
35
working-directory : target_chains/near/receiver
37
36
steps :
38
37
- uses : actions/checkout@v2
38
+ - uses : Swatinem/rust-cache@v2
39
+ with :
40
+ workspaces : " target_chains/near/receiver -> target"
39
41
- run : sudo apt-get install -y libudev-dev
40
42
-
run :
cargo +stable install --locked [email protected]
41
43
- run : cargo near build reproducible-wasm
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ name: Check Remote Executor
2
2
3
3
on :
4
4
pull_request :
5
- paths : [governance/remote_executor/**]
5
+ paths :
6
+ - governance/remote_executor/**
6
7
push :
7
8
branches : [main]
8
- paths : [governance/remote_executor/**]
9
9
jobs :
10
10
test :
11
11
runs-on : ubuntu-latest
18
18
toolchain : 1.73.0
19
19
components : rustfmt, clippy
20
20
override : true
21
+ - uses : Swatinem/rust-cache@v2
22
+ with :
23
+ workspaces : " governance/remote_executor -> target"
21
24
- name : Install Solana
22
25
run : |
23
26
sh -c "$(curl -sSfL https://release.solana.com/v1.18.23/install)"
Original file line number Diff line number Diff line change 8
8
push :
9
9
branches :
10
10
- main
11
- paths :
12
- - target_chains/solana/**
13
- - pythnet/pythnet_sdk/**
14
11
15
12
env :
16
13
CARGO_TERM_COLOR : always
23
20
working-directory : target_chains/solana
24
21
steps :
25
22
- uses : actions/checkout@v2
23
+ - uses : Swatinem/rust-cache@v2
24
+ with :
25
+ workspaces : " target_chains/solana -> target"
26
26
- uses : actions-rs/toolchain@v1
27
27
with :
28
28
profile : minimal
Original file line number Diff line number Diff line change 6
6
push :
7
7
branches :
8
8
- main
9
- paths :
10
- - target_chains/starknet/contracts/**
11
9
jobs :
12
10
check :
13
11
name : Starknet Foundry tests
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ name: Check Starknet Tools
2
2
3
3
on :
4
4
pull_request :
5
- paths : [target_chains/starknet/tools/**]
5
+ paths :
6
+ - target_chains/starknet/tools/**
6
7
push :
7
8
branches : [main]
8
- paths : [target_chains/starknet/tools/**]
9
9
jobs :
10
10
test :
11
11
runs-on : ubuntu-latest
18
18
components : rustfmt, clippy
19
19
override : true
20
20
- uses : actions/checkout@v3
21
+ - uses : Swatinem/rust-cache@v2
22
+ with :
23
+ workspaces : " target_chains/starknet/tools/test_vaas -> target"
21
24
- name : Install Scarb
22
25
uses : software-mansion/setup-scarb@v1
23
26
with :
Original file line number Diff line number Diff line change 8
8
push :
9
9
branches :
10
10
- main
11
- paths :
12
- - target_chains/ethereum/sdk/stylus/**
13
11
permissions :
14
12
contents : read
15
13
concurrency :
Original file line number Diff line number Diff line change 18
18
push :
19
19
branches :
20
20
- main
21
- paths :
22
- - target_chains/ethereum/sdk/stylus/**
23
21
concurrency :
24
22
group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
25
23
cancel-in-progress : true
Original file line number Diff line number Diff line change 11
11
push :
12
12
branches :
13
13
- main
14
- paths :
15
- - target_chains/ethereum/sdk/stylus/**
16
14
concurrency :
17
15
group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
18
16
cancel-in-progress : true
37
35
with :
38
36
toolchain : stable
39
37
rustflags : " "
38
+ - uses : Swatinem/rust-cache@v2
39
+ with :
40
+ workspaces : " target_chains/ethereum/sdk/stylus -> target"
40
41
- name : Add rust targets ${{ matrix.target }}
41
42
run : rustup target add ${{ matrix.target }}
42
43
- name : Cargo check
Original file line number Diff line number Diff line change 5
5
push :
6
6
branches :
7
7
- main
8
- paths :
9
- - target_chains/sui/contracts/**
10
8
11
9
name : Sui Contracts
12
10
@@ -19,12 +17,16 @@ jobs:
19
17
working-directory : target_chains/sui/contracts/
20
18
steps :
21
19
- uses : actions/checkout@v3
22
-
23
- - name : Update rust
24
- run : rustup update stable
25
-
26
- - name : Install Sui CLI
27
- run : cargo install --locked --git https://github.com/MystenLabs/sui.git --rev 041c5f2bae2fe52079e44b70514333532d69f4e6 sui
20
+ - uses : actions-rs/toolchain@v1
21
+ with :
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
28
30
29
31
- name : Run tests
30
32
run : sui move test
Original file line number Diff line number Diff line change 11
11
- " **/tsconfig.json"
12
12
push :
13
13
branches : [main]
14
- paths :
15
- - " **.tsx?"
16
- - " **.jsx?"
17
- - " **.json"
18
- - " **.sol"
19
- - " **/package.json"
20
- - " **/package-lock.json"
21
- - " **/tsconfig.json"
22
14
jobs :
23
15
build :
24
16
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11
11
- " **/tsconfig.json"
12
12
push :
13
13
branches : [main]
14
- paths :
15
- - " **.tsx?"
16
- - " **.jsx?"
17
- - " **.json"
18
- - " **.sol"
19
- - " **/package.json"
20
- - " **/package-lock.json"
21
- - " **/tsconfig.json"
22
14
jobs :
23
15
test :
24
16
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments