Fix cargo clippy #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | ||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
jobs: | ||
test-dcf: | ||
name: Test dcf | ||
runs-on: ubuntu-latest | ||
working-directory: dcf | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: dtolnay/rust-toolchain@stable | ||
with: | ||
components: rustfmt, clippy | ||
- name: Test with multithreading | ||
run: cargo test -F prg | ||
- name: Test without multithreading | ||
run: cargo test -F prg --no-default-features | ||
- run: cargo fmt --check | ||
- run: cargo clippy --all-features -- --no-deps -Dwarnings |