Skip to content

Commit e732fe8

Browse files
committed
Chore: Added more lines to CI
1 parent 6840b00 commit e732fe8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ jobs:
2525
uses: actions/checkout@v4
2626
- name: Set up Rust
2727
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
28+
- name: Set up Clippy
29+
run: rustup component add clippy
30+
- name: Run Clippy
31+
working-directory: ${{ matrix.directory }}
32+
run: cargo clippy -- -D warnings # TODO: replace with `cargo clippy -- -W clippy::pedantic -D warnings`
33+
- name: Check formatting
34+
working-directory: ${{ matrix.directory }}
35+
run: cargo fmt -- --check
2836
- name: Build
2937
working-directory: ${{ matrix.directory }}
3038
run: cargo build --verbose

0 commit comments

Comments
 (0)