Skip to content

Clippy cleanup

Clippy cleanup #78

Workflow file for this run

name: Lints
on:
push:
pull_request:
jobs:
stylecheck:
name: Style Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/clippy-check@v1
with:
use-cross: true
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --target x86_64-unknown-freebsd