Skip to content

add CI workflows, cargo fmt stuff #1

add CI workflows, cargo fmt stuff

add CI workflows, cargo fmt stuff #1

Workflow file for this run

name: Clippy
on:
push:
branches: [ "main", "master" ]
pull_request:
branches: [ "main", "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Cache cargo registry and build artifacts
uses: Swatinem/rust-cache@v2
- name: Run clippy
run: cargo clippy