Run protected Alkane OS source checks on pull requests
source-pr / source (pull_request) Failing after 5s

This commit is contained in:
2026-10-19 12:12:48 -06:00
parent 1b0607cbd8
commit f7aeeaa2eb
+25
View File
@@ -0,0 +1,25 @@
name: source-pr
on:
pull_request:
branches: [next, main]
workflow_dispatch:
concurrency:
group: alkane-os-source-pr-${{ github.ref }}
cancel-in-progress: true
jobs:
source:
runs-on: alkane-ci
env:
CARGO_TARGET_DIR: target
steps:
- uses: actions/checkout@v4
- name: Check source formatting
run: cargo fmt --check
- name: Build source
run: cargo build --release --locked
- name: Clean generated build
if: always()
run: python3 ci/cleanup-generated.py