Skip to content

Commit c70eb28

Browse files
committed
fix: build before clippy
1 parent 6a0ed0b commit c70eb28

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-and-test-rust.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ jobs:
5555
cd aggregation_mode
5656
cargo fmt --all -- --check
5757
58-
- name: Run Clippy on AggregationMode
58+
- name: Build AggregationMode # We build before clippy to generate the ELF
5959
run: |
6060
cd aggregation_mode
61-
cargo clippy --all -- -D warnings
61+
cargo build --all
6262
63-
- name: Build AggregationMode
63+
- name: Run Clippy on AggregationMode
6464
run: |
6565
cd aggregation_mode
66-
cargo build --all
66+
cargo clippy --all -- -D warnings
6767
6868
test:
6969
runs-on: aligned-runner

0 commit comments

Comments
 (0)