29 lines
750 B
YAML
29 lines
750 B
YAML
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
|
|
container:
|
|
image: gitea.bluefla.re/blueflare/alkane-ci@sha256:ad56db2fc456a3f1c68c715ba44309751cb5c455376d9f797ac346833c011e15
|
|
env:
|
|
CARGO_BUILD_JOBS: 2
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Check runner image pins
|
|
run: python3 ci/check-runner-image.py
|
|
- name: Source checks
|
|
run: cargo test --workspace --exclude alkane-gui --exclude wx-rs --offline
|
|
- name: Clean generated Toolkit build
|
|
if: always()
|
|
run: python3 ci/cleanup-generated.py
|