Fix nightly clippy warning #1
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
# Run doc tests, unit tests and clippy on Linux, Windows and MacOS | |
name: Unit tests | |
on: | |
push: | |
branch: | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
platform: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- run: cargo test --lib --examples | |
- run: cargo test --doc | |
- run: cargo clippy --tests -- -D warnings | |
- run: cargo tree |