ci: Forgejo Actions on the factory runner with dark-agent-style lints #2

Merged
arento merged 1 commit from chore/ci-lints-like-dark-agent into feat/provisioning-yc 2026-07-01 08:58:12 +00:00
Owner

Makes CI actually run, and mirrors dark-agent's setup. Stacked on feat/provisioning-yc (that branch introduces Cargo.toml and the workflow — there's nothing to run on main yet); retarget to main once the base merges.

Changes

  • Workflow moves to .forgejo/workflows/ci.yaml — Forgejo reads .forgejo/, not .gitea/, which is why CI wasn't running. Runs on the shared factory-ci-rust:1.94.1 image on the docker runner, same as dark-agent: cargo fmt --check, cargo clippy --all-targets -- -D warnings, cargo test --all-targets.
  • Lint levels move into Cargo [lints] (clippy all = warn, unused_must_use = deny) instead of a CLI pedantic flag — dark-agent's shape.
  • Pin the toolchain to 1.94.1 (rust-toolchain.toml) to match the image; drop Duration::from_mins (1.95-only) so it builds there.
  • Old .gitea/workflows/ci.yml removed; AGENTS.md updated.

Verified locally on the pinned 1.94.1 toolchain: fmt + clippy + test green.

Makes CI actually run, and mirrors dark-agent's setup. Stacked on `feat/provisioning-yc` (that branch introduces `Cargo.toml` and the workflow — there's nothing to run on `main` yet); retarget to `main` once the base merges. ## Changes - Workflow moves to **`.forgejo/workflows/ci.yaml`** — Forgejo reads `.forgejo/`, not `.gitea/`, which is why CI wasn't running. Runs on the shared **`factory-ci-rust:1.94.1`** image on the `docker` runner, same as dark-agent: `cargo fmt --check`, `cargo clippy --all-targets -- -D warnings`, `cargo test --all-targets`. - Lint levels move into Cargo **`[lints]`** (`clippy all = warn`, `unused_must_use = deny`) instead of a CLI pedantic flag — dark-agent's shape. - Pin the toolchain to **1.94.1** (`rust-toolchain.toml`) to match the image; drop `Duration::from_mins` (1.95-only) so it builds there. - Old `.gitea/workflows/ci.yml` removed; `AGENTS.md` updated. Verified locally on the pinned 1.94.1 toolchain: fmt + clippy + test green.
ci: run Forgejo Actions on the factory runner with dark-agent-style lints
All checks were successful
ci / test (push) Successful in 1m17s
ci / test (pull_request) Successful in 37s
415c73a164
Forgejo reads .forgejo/workflows (not .gitea), so the workflow moves there and runs on the shared factory-ci-rust:1.94.1 image — same as dark-agent: cargo fmt --check, clippy --all-targets -D warnings, test --all-targets. Lint levels move into Cargo [lints] (clippy all=warn, unused_must_use=deny) instead of a CLI pedantic flag. Pin the toolchain to 1.94.1 (rust-toolchain.toml) to match the image and drop Duration::from_mins (1.95-only) accordingly. AGENTS.md updated; old .gitea workflow removed.
arento merged commit 3e6deb9a6b into feat/provisioning-yc 2026-07-01 08:58:12 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
projects/dark-orchestrator!2
No description provided.