File tree Expand file tree Collapse file tree 1 file changed +31
-4
lines changed
Expand file tree Collapse file tree 1 file changed +31
-4
lines changed Original file line number Diff line number Diff line change 2222 toolchain : stable
2323 components : rustfmt, clippy
2424 override : true
25+
2526 - name : Cache Rust dependencies
2627 uses : actions/cache@v3
2728 with :
@@ -32,27 +33,47 @@ jobs:
3233 key : ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }}
3334 restore-keys : |
3435 ${{ runner.os }}-rust-
35- - name : Check formatting of Rust projects
36+
37+ - name : Check formatting of Batcher
3638 run : |
3739 cd batcher
3840 cargo fmt --all -- --check
39- - name : Run Clippy
41+
42+ - name : Run Clippy on Batcher
4043 run : |
4144 cd batcher
4245 cargo clippy --all -- -D warnings
43- - name : Build Rust projects
46+
47+ - name : Build Batcher
4448 run : |
4549 cd batcher
4650 cargo build --all
4751
52+ - name : Check formatting of AggregationMode
53+ run : |
54+ cd aggregation_mode
55+ cargo fmt --all -- --check
56+
57+ - name : Run Clippy on AggregationMode
58+ run : |
59+ cd aggregation_mode
60+ cargo clippy --all -- -D warnings
61+
62+ - name : Build AggregationMode
63+ run : |
64+ cd aggregation_mode
65+ cargo build --all
66+
4867 test :
4968 runs-on : aligned-runner
5069 needs : build
5170 steps :
5271 - name : Checkout code
5372 uses : actions/checkout@v4
73+
5474 - name : foundry-toolchain
5575 uses :
foundry-rs/[email protected] 76+
5677 - name : Cache Rust dependencies
5778 uses : actions/cache@v3
5879 with :
6384 key : ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }}
6485 restore-keys : |
6586 ${{ runner.os }}-rust-
66- - name : Run tests
87+
88+ - name : Run Batcher tests
6789 run : |
6890 cd batcher
6991 cargo test --all
92+
93+ - name : Run AggregationMode tests
94+ run : |
95+ cd aggregation_mode
96+ cargo test --all
You can’t perform that action at this time.
0 commit comments