Skip to content

Commit a14ed45

Browse files
Add lints to CI
1 parent 1609ad0 commit a14ed45

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ jobs:
3535
- name: Build
3636
run: cargo build --release --verbose --target ${{ matrix.target }}
3737

38+
- name: Lint
39+
run: cargo clippy --release --verbose --target ${{ matrix.target }} -- -D warnings
40+
41+
- name: fmt
42+
run: cargo fmt --check
43+
3844
- name: Build examples
3945
run: cargo build --verbose --examples --target ${{ matrix.target }}
4046
if: matrix.target != 'x86_64-unknown-linux-gnu'

0 commit comments

Comments
 (0)