Skip to content

Address lints

Address lints #15

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.83.0"
- name: version info
run: rustc --version; cargo --version;
- name: Run all tests
run: cargo test
fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.83.0"
- run: |
rustup component add rustfmt
cargo fmt --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.83.0"
- run: |
rustup component add clippy
cargo clippy -- -D warnings