Cancels any in-progress CI run for the same branch when a new commit arrives, cutting queue time from O(n × job_duration) to ~0. Closes #497 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
23 lines
490 B
YAML
23 lines
490 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
concurrency:
|
|
group: ci-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
check:
|
|
name: Full Project Check
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 60
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup Dagger Remote Engine
|
|
env:
|
|
SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }}
|
|
run: scripts/setup_dagger_remote.sh
|
|
- name: Run Full Check Suite
|
|
run: task check-dagger
|