Add fast OS source check for pull requests
source-pr / source (pull_request) Failing after 6s

This commit is contained in:
2026-10-18 19:57:10 -06:00
parent 17e73f246a
commit 9d705ec44f
+26
View File
@@ -0,0 +1,26 @@
name: source-pr
on:
pull_request:
branches: [main, next]
workflow_dispatch:
concurrency:
group: alkane-os-source-pr-${{ github.ref }}
cancel-in-progress: true
jobs:
source:
runs-on: alkane-fast
env:
CARGO_TARGET_DIR: target
CARGO_BUILD_JOBS: 2
steps:
- uses: actions/checkout@v4
- name: Check source
run: |
cargo fmt --check
cargo test --locked
- name: Clean generated source check
if: always()
run: python3 ci/cleanup-generated.py