File tree Expand file tree Collapse file tree 3 files changed +35
-26
lines changed Expand file tree Collapse file tree 3 files changed +35
-26
lines changed Original file line number Diff line number Diff line change @@ -100,25 +100,6 @@ jobs:
100100 cd vrf
101101 cargo test --release -- -Z unstable-options --report-time
102102
103- tx-fuzzer-check :
104- runs-on : ubuntu-22.04
105- steps :
106- - name : Git checkout
107- uses : actions/checkout@v4
108- - name : Setup build dependencies
109- run : |
110- sudo apt update
111- sudo apt install -y protobuf-compiler
112- - name : Setup Rust
113- run : |
114- rustup install nightly
115- rustup override set nightly
116- rustup component add --toolchain nightly-x86_64-unknown-linux-gnu rustfmt
117- - name : Check for compilation errors in transaction fuzzer
118- run : |
119- cd tools/fuzzing
120- cargo check
121-
122103 p2p-tests :
123104 runs-on : ubuntu-22.04
124105 steps :
Original file line number Diff line number Diff line change 77
88jobs :
99 lint :
10- name : Lint
11- runs-on : ubuntu-latest
10+ name : Lint - ${{ matrix.os }} - Rust ${{ matrix.toolchain }}
11+ runs-on : ${{ matrix.os }}
12+ strategy :
13+ matrix :
14+ os : [ubuntu-latest]
15+ toolchain : [1.84]
1216 steps :
1317 - uses : actions/checkout@v4
1418 - name : Setup build dependencies
1519 run : |
16- sudo apt update
17- sudo apt install -y protobuf-compiler
20+ sudo apt update || true
21+ sudo apt install -y protobuf-compiler || true
1822 - uses : dtolnay/rust-toolchain@stable
1923 with :
20- toolchain : 1.84
24+ toolchain : ${{ matrix.toolchain }}
2125 components : clippy, rustfmt
22- - name : check
26+ - name : Run make check
2327 run : make check
24- - name : clippy
28+ - name : Run make lint
2529 run : make lint
30+
31+ lint-tx-fuzzing :
32+ name : Lint transaction Fuzzing - ${{ matrix.os }} - Rust ${{ matrix.toolchain }}
33+ runs-on : ${{ matrix.os }}
34+ strategy :
35+ matrix :
36+ os : [ubuntu-latest]
37+ toolchain : [nightly]
38+ steps :
39+ - uses : actions/checkout@v4
40+ - name : Setup build dependencies
41+ run : |
42+ sudo apt update || true
43+ sudo apt install -y protobuf-compiler || true
44+ - uses : dtolnay/rust-toolchain@stable
45+ with :
46+ toolchain : ${{ matrix.toolchain }}
47+ components : clippy, rustfmt
48+ - name : Run transaction Fuzzing check
49+ run : make check-tx-fuzzing
Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ build-wasm: ## Build WebAssembly node
2424check : # # Check code for compilation errors
2525 cargo check --all-targets
2626
27+ .PHONY : check-tx-fuzzing
28+ check-tx-fuzzing : # # Check the transaction fuzzing tools, requires nightly Rust
29+ @cd tools/fuzzing && cargo +nightly check
30+
2731.PHONY : check-format
2832check-format : # # Check code formatting
2933 cargo +nightly fmt -- --check
You can’t perform that action at this time.
0 commit comments