ci: add ngit Rust workflow

This commit is contained in:
DanConwayDev
2026-07-10 20:46:34 +01:00
parent a17410cf31
commit ae5eeee74d
+17
View File
@@ -0,0 +1,17 @@
on: push
name: Rust CI
jobs:
ci:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v5
- uses: cachix/install-nix-action@v31
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix develop --command cargo fmt --all -- --check
- run: nix develop --command cargo clippy --workspace --all-targets -- -D warnings
- run: nix develop --command cargo test --locked
- run: nix develop --command cargo test -p grasp-audit --lib --locked