ci: skip cargo suite when the change cannot affect Rust
Some checks failed
ci / test (pull_request) Failing after 4m5s
Some checks failed
ci / test (pull_request) Failing after 4m5s
Path allowlist on push-to-main and pull_request: src/, crates/, tests/, Cargo.toml, Cargo.lock, and this workflow. workflow_dispatch still always runs. No branch protections, so a skipped run is not a merge trap.
This commit is contained in:
parent
3e72f40e0e
commit
ad8b43c36c
2 changed files with 20 additions and 1 deletions
|
|
@ -281,7 +281,7 @@ FORGEJO_TOKEN=<pat> scripts/build-release-local.sh vX.Y.Z
|
|||
|
||||
Workflows (Forgejo Actions, `.forgejo/workflows/`):
|
||||
|
||||
- [`.forgejo/workflows/ci.yml`](.forgejo/workflows/ci.yml) — `cargo test --locked` + `cargo clippy --all-targets -- -D warnings` on `main` and PRs (ignored Tor-live tests are not run). Pi runner, `docker` label.
|
||||
- [`.forgejo/workflows/ci.yml`](.forgejo/workflows/ci.yml) — `cargo test --locked` + `cargo clippy --all-targets -- -D warnings` on `main` and PRs when `src/`, `crates/`, `tests/`, `Cargo.toml`, `Cargo.lock`, or this workflow change (ignored Tor-live tests are not run). `workflow_dispatch` always runs the suite. Pi runner, `docker` label.
|
||||
- [`.forgejo/workflows/release.yml`](.forgejo/workflows/release.yml) — on core paths to `main`: next tag, aarch64 (`docker`) + x86_64 (`docker-amd64`), one release. `workflow_dispatch` rebuilds a tag or `dry_run`s. Concurrency group `onionwire-release` (separate from CI).
|
||||
|
||||
Scripts:
|
||||
|
|
|
|||
Loading…
Reference in a new issue