Skip to content

chore: update readme (#2) #5

chore: update readme (#2)

chore: update readme (#2) #5

Workflow file for this run

name: Clippy and FMT
on: [push, pull_request]
jobs:
clippy_check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install components
uses: actions-rs/toolchain@v1
with:
components: clippy, rustfmt
toolchain: nightly
override: true
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
toolchain: nightly
args: --all -- --check
- name: Install cargo-lints
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-lints
- name: Clippy lints
uses: actions-rs/cargo@v1
with:
command: lints
toolchain: nightly
args: clippy --all-targets --all-features
- name: Cargo check
uses: actions-rs/cargo@v1
with:
command: check
args: --release --all-targets