Skip to content

cargo fix clippy and fmt #9

cargo fix clippy and fmt

cargo fix clippy and fmt #9

Workflow file for this run

name: Tests
on:
push:
branches: [master]
pull_request:
jobs:
verify:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo
uses: Swatinem/rust-cache@v2
- name: Verify (fmt, clippy, tests)
run: |
cargo fmt --all -- --check
cargo clippy --all-targets --no-default-features --features cpu -- -D warnings
cargo test --release --no-default-features --features cpu --all-targets
cargo test --release --no-default-features --features gpu --all-targets --no-run