Skip to content

+

+ #146

Workflow file for this run

name: Lint
on:
pull_request:
branches: ["*"]
paths-ignore:
- '**/*.md'
push:
branches: ["main", "dev"]
paths-ignore:
- '**/*.md'
# Make sure CI fails on all warnings, including Clippy lints
env:
RUSTFLAGS: "-Dwarnings"
jobs:
clippy:
name: Clippy Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check
run: |
rustup default nightly
rustup component add clippy
cargo clippy --all-targets --all-features
statix:
name: Statix Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v12
with:
name: statix
- uses: jocelynthode/statix-action@master