Skip to content

Commit

Permalink
Add clippy to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bcollazo committed Oct 20, 2024
1 parent 0d4c7b9 commit 0cdeb5e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,26 +105,24 @@ jobs:
- name: Run `cargo fmt`
run: cargo fmt -- --check
working-directory: catanatron_rust
- name: Run `cargo clippy`
run: cargo clippy -- -D warnings
working-directory: catanatron_rust

# TODO: Enable when passing:
# - name: Run `cargo clippy`
# run: cargo clippy -- -D warnings
# working-directory: catanatron_rust

# Verify cargo run, test, and run benchmarks
- name: Run `cargo run`
run: cargo run
working-directory: catanatron_rust

- name: Run `cargo run --release`
run: cargo run --release
working-directory: catanatron_rust

- name: Run `cargo test`
run: cargo test --verbose
working-directory: catanatron_rust
- name: Run `cargo test --release`
run: cargo test --release --verbose
working-directory: catanatron_rust

- name: Run `cargo bench`
run: cargo bench
working-directory: catanatron_rust

0 comments on commit 0cdeb5e

Please sign in to comment.