File tree Expand file tree Collapse file tree 7 files changed +56
-0
lines changed Expand file tree Collapse file tree 7 files changed +56
-0
lines changed Original file line number Diff line number Diff line change 26
26
toolchain : 1.82.0
27
27
components : rustfmt, clippy
28
28
override : true
29
+ - name : Format check
30
+ run : cargo +1.82.0 fmt --manifest-path ./target_chains/cosmwasm/Cargo.toml --all -- --check
31
+ if : success() || failure()
32
+ - name : Clippy check
33
+ run : cargo +1.82.0 clippy --manifest-path ./target_chains/cosmwasm/Cargo.toml --tests -- --deny warnings
34
+ if : success() || failure()
29
35
- name : Build
30
36
run : cargo build --verbose
37
+ if : success() || failure()
31
38
- name : Run tests
32
39
run : cargo test --verbose
40
+ if : success() || failure()
Original file line number Diff line number Diff line change 19
19
profile : minimal
20
20
toolchain : 1.82.0
21
21
override : true
22
+ - name : Format check
23
+ run : cargo +1.82.0 fmt --manifest-path ./apps/fortuna/Cargo.toml --all -- --check
24
+ if : success() || failure()
25
+ - name : Clippy check
26
+ run : cargo +1.82.0 clippy --manifest-path ./apps/fortuna/Cargo.toml --tests -- --deny warnings
27
+ if : success() || failure()
22
28
- name : Run executor tests
23
29
run : cargo test --manifest-path ./apps/fortuna/Cargo.toml
30
+ if : success() || failure()
Original file line number Diff line number Diff line change 30
30
run : forc build --verbose
31
31
- name : Run tests with Forc
32
32
run : forc test --verbose
33
+ if : success() || failure()
33
34
- name : Rust add wasm32-unknown-unknown target
34
35
run : rustup target add wasm32-unknown-unknown
36
+ if : success() || failure()
37
+ - name : Format check
38
+ run : cargo fmt --manifest-path ./target_chains/fuel/contracts/Cargo.toml --all -- --check
39
+ if : success() || failure()
40
+ - name : Clippy check
41
+ run : cargo clippy --manifest-path ./target_chains/fuel/contracts/Cargo.toml --tests -- --deny warnings
42
+ if : success() || failure()
35
43
- name : Build
36
44
run : cargo build --verbose
45
+ if : success() || failure()
37
46
- name : Run tests
38
47
run : cargo test --verbose
48
+ if : success() || failure()
Original file line number Diff line number Diff line change 24
24
uses : arduino/setup-protoc@v3
25
25
with :
26
26
repo-token : ${{ secrets.GITHUB_TOKEN }}
27
+ - name : Format check
28
+ run : cargo +1.82.0 fmt --manifest-path ./apps/hermes/server/Cargo.toml --all -- --check
29
+ if : success() || failure()
30
+ - name : Clippy check
31
+ run : cargo +1.82.0 clippy --manifest-path ./apps/hermes/server/Cargo.toml --tests -- --deny warnings
32
+ if : success() || failure()
27
33
- name : Run executor tests
28
34
run : cargo test --manifest-path ./apps/hermes/server/Cargo.toml
35
+ if : success() || failure()
Original file line number Diff line number Diff line change 36
36
echo "$HOME/.local/share/solana/install/active_release/bin" >> "$GITHUB_PATH"
37
37
- name : check Cargo.toml formatting
38
38
run : find . -name Cargo.toml -exec taplo fmt --check --diff {} \;
39
+ - name : Format check
40
+ run : cargo +1.82.0 fmt --manifest-path ./lazer/Cargo.toml --all -- --check
41
+ if : success() || failure()
42
+ - name : Clippy check
43
+ run : cargo +1.82.0 clippy --manifest-path ./lazer/Cargo.toml --all-targets -- --deny warnings
44
+ if : success() || failure()
39
45
- name : Build Solana programs
40
46
run : cargo build-sbf
47
+ if : success() || failure()
41
48
- name : test
42
49
run : cargo test
50
+ if : success() || failure()
Original file line number Diff line number Diff line change 25
25
run : |
26
26
sh -c "$(curl -sSfL https://release.solana.com/v1.18.23/install)"
27
27
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
28
+ - name : Format check
29
+ run : cargo +1.73.0 fmt --manifest-path ./governance/remote_executor/Cargo.toml --all -- --check
30
+ if : success() || failure()
31
+ - name : Clippy check
32
+ run : cargo +1.73.0 clippy --manifest-path ./governance/remote_executor/Cargo.toml --tests -- --deny warnings
33
+ if : success() || failure()
28
34
- name : Run executor tests
29
35
run : cargo test-sbf --manifest-path ./governance/remote_executor/Cargo.toml
36
+ if : success() || failure()
Original file line number Diff line number Diff line change 32
32
run : |
33
33
sh -c "$(curl -sSfL https://release.solana.com/v1.16.20/install)"
34
34
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
35
+ - name : Format check
36
+ run : cargo +1.73.0 fmt --manifest-path ./target_chains/solana/Cargo.toml --all -- --check
37
+ if : success() || failure()
38
+ - name : Clippy check
39
+ run : cargo +1.73.0 clippy --manifest-path ./target_chains/solana/Cargo.toml --tests -- --deny warnings
40
+ if : success() || failure()
35
41
- name : Build
36
42
run : cargo-build-sbf
43
+ if : success() || failure()
37
44
- name : Run tests
38
45
run : cargo-test-sbf
46
+ if : success() || failure()
39
47
- name : Run sdk tests
40
48
run : cargo test --package pyth-solana-receiver-sdk
49
+ if : success() || failure()
You can’t perform that action at this time.
0 commit comments