Skip to content

test: fix lints

test: fix lints #481

Workflow file for this run

name: Workspace
on:
pull_request:
paths-ignore:
- README.md
push:
branches: master
paths-ignore:
- README.md
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.70.0 # MSRV
components: clippy
override: true
profile: minimal
- run: cargo clippy --all --all-features -- -D warnings
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
profile: minimal
override: true
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check