mirror of
https://relay.ngit.dev/npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr/ngit-grasp.git
synced 2026-10-05 15:08:24 +00:00
ci: add ngit Rust workflow
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user