Skip to content

Update GA workflows #32

Update GA workflows

Update GA workflows #32

Workflow file for this run

name: Clippy Fmt
on:
push:
branches:
- '*'
jobs:
clippy_fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: cargo clippy --all
- run: cargo fmt --all -- --check