Skip to content

Commit

Permalink
Add lints to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Dec 20, 2024
1 parent 1609ad0 commit a14ed45
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ jobs:
- name: Build
run: cargo build --release --verbose --target ${{ matrix.target }}

- name: Lint
run: cargo clippy --release --verbose --target ${{ matrix.target }} -- -D warnings

- name: fmt
run: cargo fmt --check

- name: Build examples
run: cargo build --verbose --examples --target ${{ matrix.target }}
if: matrix.target != 'x86_64-unknown-linux-gnu'
Expand Down

0 comments on commit a14ed45

Please sign in to comment.