1 Commits
Author SHA1 Message Date
jackos1998 f2f52d5b4d ci: Run only on pushes to main 2026-11-25 01:01:41 +00:00
2 changed files with 3 additions and 3 deletions

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ name: CI
on:
push:
pull_request:
branches: [main]
jobs:
check:
+2 -2
View File
@@ -39,8 +39,8 @@ of devenv's scripts, `devenv test` or the demo's host side.
errors) and the tests.
- `cargo fmt` — the crate is formatted with `rustfmt` (`rustfmt.toml`); run it on code you change.
- `nix build` — the package, which also runs the tests.
- CI ([`.gitea/workflows/ci.yaml`](.gitea/workflows/ci.yaml)) runs `nix flake check` on every push:
the package with its tests, `clippy` (warnings as errors), `fmt` (`cargo fmt --check`),
- CI ([`.gitea/workflows/ci.yaml`](.gitea/workflows/ci.yaml)) runs `nix flake check` on pushes to
`main`: the package with its tests, `clippy` (warnings as errors), `fmt` (`cargo fmt --check`),
`shellcheck` on `src/**/*.sh` and the VM test. Keep them passing. `nix flake check --no-build`
fails where the VM test's keys haven't been built, because the test reads them at evaluation.
- `vm-test` (or `nix build -L .#checks.x86_64-linux.vm`) — the NixOS VM test of the broker module