Skip to content

fix(ci): run clippy in nix shell #46

fix(ci): run clippy in nix shell

fix(ci): run clippy in nix shell #46

Workflow file for this run

---
on:
push:
pull_request:
name: Test & Lint
env:
RUSTFLAGS: "-Dwarnings"
jobs:
nix_build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install Nix
uses: cachix/install-nix-action@1ca7d21a94afc7c957383a2d217460d980de4934 # v31
- name: Run flake checks
run: nix flake check --print-build-logs
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install Nix
uses: cachix/install-nix-action@1ca7d21a94afc7c957383a2d217460d980de4934 # v31
- name: Run Clippy
run: nix develop --command cargo clippy --all-features