Skip to content

Commit

Permalink
Added cargo fmt & clippy checks to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsnaps committed Jun 19, 2024
1 parent 6437c12 commit f626896
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: Format
run: cargo fmt --all -- --check
- name: Build
run: cargo build --verbose
- name: Clippy
run: cargo clippy --all-features --all-targets -- -D warnings
- name: Run tests
run: cargo test --verbose

0 comments on commit f626896

Please sign in to comment.