Separate fast Toolkit checks from full main verification
source / check (push) Successful in 35s
verify / verify (pull_request) Canceled after 0s

This commit is contained in:
2026-10-18 19:58:47 -06:00
parent c93a4a5cbf
commit ce7e0aa098
2 changed files with 26 additions and 21 deletions
+24
View File
@@ -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
+2 -21
View File
@@ -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