Skip to content

Commit

Permalink
feat: add clippy and fmt to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
malivix committed Dec 10, 2023
1 parent 20ee69e commit ff90bf4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20ee69e0d9da554873f7c64040f55f936110d44e
9 changes: 9 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: Swatinem/rust-cache@v2
- uses: actions/checkout@v3
- name: setup toolchain
uses: hecrj/setup-rust-action@v1
with:
rust-version: stable
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: rustfmt
run: cargo +nightly fmt --all -- --check
- name: clippy
run: cargo +nightly clippy --all --all-features --tests -- -D warnings

0 comments on commit ff90bf4

Please sign in to comment.