Add workflow job for running clippy on codebase

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2022-12-27 15:58:02 +01:00
parent 6389141015
commit b8a98da958
No known key found for this signature in database
1 changed files with 12 additions and 0 deletions

View File

@ -20,3 +20,15 @@ jobs:
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
clippy:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.65.0
components: clippy
- run: cargo clippy -- -D warnings