Skip to content

dcfield: Finished up a bit just missing 2 TODOs #179

dcfield: Finished up a bit just missing 2 TODOs

dcfield: Finished up a bit just missing 2 TODOs #179

Workflow file for this run

name: Code Linting
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
format:
name: rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt
override: true
- name: Check formatting
run: cargo fmt --all -- --check
clippy:
name: clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: clippy
override: true
- name: Run clippy
run: cargo clippy