From 22d079145f5125031594748f1d1941f15cd5741f Mon Sep 17 00:00:00 2001 From: naps62-yolo Date: Sun, 24 May 2026 15:24:44 +0000 Subject: [PATCH] ci(maestro): fix runner image + trigger on linear/** branches CI has been red since NAP-211 because docker.gitea.com/runner-images: ubuntu-latest has no `rustup`; the toolchain install step exits 127. - Use `rust:1.83-bookworm` as the job container so rustup + cargo + a stable toolchain are pre-installed - Install `tmux` + `git` so the daemon integration tests can run - Add `rustfmt` and `clippy` components - Also trigger on pushes to `linear/**` so yolo branches see CI before they're merged --- .gitea/workflows/ci.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f4a90c7..b6f30b1 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -2,19 +2,26 @@ name: ci on: push: - branches: [main] + branches: + - main + - 'linear/**' pull_request: jobs: rust: runs-on: ubuntu-latest + container: + image: rust:1.83-bookworm steps: - uses: actions/checkout@v4 - - name: Install stable toolchain + - name: Install runtime test deps (tmux + git) run: | - rustup toolchain install stable --profile minimal --component rustfmt,clippy - rustup default stable + apt-get update + apt-get install -y --no-install-recommends tmux git ca-certificates + + - name: Add rustfmt + clippy + run: rustup component add rustfmt clippy - name: Cache cargo uses: actions/cache@v4