Skip to content

clippy warnings

clippy warnings #29

Workflow file for this run

name: rust
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt, clippy
- run: cargo fmt --all --check
- run: cargo clippy -- -Dwarnings
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.56.0
- stable
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{matrix.rust}}
- run: cargo test --all-features