Skip to content

Commit

Permalink
Add code quality job
Browse files Browse the repository at this point in the history
  • Loading branch information
stuxnot committed Oct 11, 2023
1 parent f83153b commit 67f22d2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@ jobs:
- name: Prepare
run: make nyxstone
working-directory: ${{env.working-dir}}
- name: Code quality
run: cargo fmt --all -- --check && cargo clippy -- -D warnings
working-directory: ${{env.working-dir}}
- name: Build
run: cargo build --verbose
run: cargo build
working-directory: ${{env.working-dir}}
- name: Run tests
run: cargo test --verbose
run: cargo test
working-directory: ${{env.working-dir}}

0 comments on commit 67f22d2

Please sign in to comment.