Skip to content

Introduce clippy + code reorg #2

Introduce clippy + code reorg

Introduce clippy + code reorg #2

Workflow file for this run

name: Lints
on:
push:
branches:
- master
pull_request: {}
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-03-09
override: true
components: rustfmt
- name: Ensure Standard Formatting
run: cargo +nightly-2023-03-09 fmt --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-03-09
override: true
components: rustfmt
- name: Ensure `clippy` is happy
run: cargo +nightly-2023-03-09 clippy --all --all-targets