25 lines
530 B
YAML
25 lines
530 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
|
|
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
|