Skip to content

style: clean up needless clippy warnings #81

style: clean up needless clippy warnings

style: clean up needless clippy warnings #81

Workflow file for this run

name: Lint
on:
pull_request:
paths: ["**.rs", "**.toml", "**.lock"]
push:
branches: [main]
paths: ["**.rs", "**.toml", "**.lock"]
jobs:
rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- name: clippy
run: |
nix develop --command cargo clippy
nix develop --command cargo clippy --target wasm32-unknown-unknown --lib
nix develop --command cargo clippy --target wasm32-unknown-unknown --lib --all-features
- name: rustfmt check
run: |
cargo fmt --all --check