diff --git a/.ngit/act/workflows/rust_ci.yaml b/.ngit/act/workflows/rust_ci.yaml new file mode 100644 index 0000000..8785e8b --- /dev/null +++ b/.ngit/act/workflows/rust_ci.yaml @@ -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