From ce7e0aa098dcd9d4b74657e00b502dc79da10526 Mon Sep 17 00:00:00 2001 From: noah Date: Sun, 18 Oct 2026 19:58:47 -0600 Subject: [PATCH] Separate fast Toolkit checks from full main verification --- .gitea/workflows/source.yml | 24 ++++++++++++++++++++++++ .gitea/workflows/verify.yml | 23 ++--------------------- 2 files changed, 26 insertions(+), 21 deletions(-) create mode 100644 .gitea/workflows/source.yml diff --git a/.gitea/workflows/source.yml b/.gitea/workflows/source.yml new file mode 100644 index 00000000..104cae79 --- /dev/null +++ b/.gitea/workflows/source.yml @@ -0,0 +1,24 @@ +name: source + +on: + pull_request: + branches: [next] + push: + branches-ignore: [main, next] + +concurrency: + group: alkane-toolkit-source-${{ github.ref }} + cancel-in-progress: true + +jobs: + check: + runs-on: alkane-fast + env: + CARGO_BUILD_JOBS: 2 + steps: + - 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 diff --git a/.gitea/workflows/verify.yml b/.gitea/workflows/verify.yml index aa53a6c8..c4d3489c 100644 --- a/.gitea/workflows/verify.yml +++ b/.gitea/workflows/verify.yml @@ -1,31 +1,12 @@ name: verify -# 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. +# Full quality gate for pull requests to main. on: pull_request: - branches: [main, next] - push: - branches-ignore: [main, next] + branches: [main] jobs: - source: - if: github.event_name == 'push' || github.base_ref == 'next' - runs-on: alkane-fast - env: - CARGO_BUILD_JOBS: 2 - 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