ci: add clippy job to rust.yml workflow

This commit is contained in:
Hamir Mahal 2024-04-17 01:35:53 -07:00
parent 9a13bccd63
commit 4eec81a113
No known key found for this signature in database

View file

@ -10,6 +10,11 @@ env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
jobs: jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cargo clippy -- --deny warnings
fmt: fmt:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: