Skip to content

Update CI/CD and swap arg parser #27

Update CI/CD and swap arg parser

Update CI/CD and swap arg parser #27

Workflow file for this run

name: Clippy Fmt
on:
push:
branches:
- '*'
jobs:
clippy_fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: clippy, rustfmt
profile: minimal
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: cargo-${{ hashFiles('**/Cargo.toml') }}
- name: cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all
- name: cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check