Skip to content

Commit

Permalink
Add cargo clippy CI step
Browse files Browse the repository at this point in the history
  • Loading branch information
ok300 committed Mar 20, 2024
1 parent 0afbe9c commit d67b0c7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,15 @@ jobs:
cargo fmt -- --check
cd ../cli
cargo fmt -- --check
clippy:
name: Cargo Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check Rust Clippy
run: |
cd lib
cargo clippy -- -D warnings
cd ../cli
cargo clippy -- -D warnings

0 comments on commit d67b0c7

Please sign in to comment.