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:
100
100
cd vrf
101
101
cargo test --release -- -Z unstable-options --report-time
102
102
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
-
122
103
p2p-tests :
123
104
runs-on : ubuntu-22.04
124
105
steps :
Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
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]
12
16
steps :
13
17
- uses : actions/checkout@v4
14
18
- name : Setup build dependencies
15
19
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
18
22
- uses : dtolnay/rust-toolchain@stable
19
23
with :
20
- toolchain : 1.84
24
+ toolchain : ${{ matrix.toolchain }}
21
25
components : clippy, rustfmt
22
- - name : check
26
+ - name : Run make check
23
27
run : make check
24
- - name : clippy
28
+ - name : Run make lint
25
29
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
24
24
check : # # Check code for compilation errors
25
25
cargo check --all-targets
26
26
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
+
27
31
.PHONY : check-format
28
32
check-format : # # Check code formatting
29
33
cargo +nightly fmt -- --check
You can’t perform that action at this time.
0 commit comments