From 5fc08e408ed5d89e11699c67dbf896428ef1d93f Mon Sep 17 00:00:00 2001 From: noah Date: Sun, 18 Oct 2026 19:53:08 -0600 Subject: [PATCH] Use lightweight checks for Toolkit feature and next changes --- .gitea/workflows/verify.yml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/verify.yml b/.gitea/workflows/verify.yml index 00c67455..6a9c7983 100644 --- a/.gitea/workflows/verify.yml +++ b/.gitea/workflows/verify.yml @@ -1,17 +1,29 @@ name: verify -# Pre-merge quality gate: clippy + build + tests + microbenchmarks + the headless -# UI self-test, plus a best-effort dependency audit. Runs on pull requests and on -# pushes to any branch EXCEPT main (main is gated by release.yml, which repeats -# these checks before it cuts a release -- so no work is duplicated on main). +# Full quality gate for pull requests to main. Feature pushes and pull requests +# to next receive source checks; both release branches keep their own gates. on: pull_request: - branches-ignore: [next] + branches: [main, next] push: branches-ignore: [main, next] jobs: + source: + if: github.event_name == 'push' || github.base_ref == 'next' + runs-on: alkane-ci + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Source checks + run: | + cargo test -p alkane-artifacts -p alkane-flash -p alkane-cli --offline + - name: Clean generated Toolkit build + if: always() + run: python3 ci/cleanup-generated.py + verify: + if: github.event_name == 'pull_request' && github.base_ref == 'main' runs-on: alkane-ci env: CARGO_TARGET_DIR: target