File tree Expand file tree Collapse file tree 1 file changed +20
-8
lines changed Expand file tree Collapse file tree 1 file changed +20
-8
lines changed Original file line number Diff line number Diff line change 41
41
save-if : false
42
42
shared-key : base
43
43
44
- - name : Install Cargo tools
45
- run : |
46
- rustup component add rustfmt clippy
47
-
48
- - name : Check that cargo lockfile is up to date
49
- run : |
50
- cargo check --locked --all-targets
51
-
52
44
# Note: ironfish-zkp is does not need this due to different licensing
53
45
- name : Check for license headers for ironfish-rust
54
46
run : ./ci/lintHeaders.sh ./ironfish-rust/src *.rs
64
56
run : |
65
57
cargo clippy --all-targets --all-features -- -D warnings
66
58
59
+ cargo_check :
60
+ name : Check Rust
61
+ runs-on : ubuntu-latest
62
+ steps :
63
+ - uses : actions/checkout@v4
64
+
65
+ - name : Cache Rust
66
+ uses : Swatinem/rust-cache@v2
67
+ with :
68
+ save-if : false
69
+ shared-key : base
70
+
71
+ - name : Install cargo-all-features
72
+ run : |
73
+ cargo install --locked cargo-all-features
74
+
75
+ - name : Check that cargo lockfile is up to date
76
+ run : |
77
+ cargo check-all-features --locked --all-targets
78
+
67
79
cargo_vet :
68
80
name : Vet Dependencies
69
81
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments