summaryrefslogtreecommitdiffstats
path: root/.github/workflows/runner.yml
blob: a2e4f91b84b1eaee4ade89ae39956f2580278180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: 🔗 GHA
on: [push, pull_request, merge_group]

concurrency:
  group: ci-${{ github.actor }}-${{ github.head_ref || github.run_number }}-${{ github.ref }}-runner
  cancel-in-progress: true

jobs:
  # First stage: Only static checks, fast and prevent expensive builds from running.

  static-checks:
    if: '!vars.DISABLE_GODOT_CI'
    name: 📊 Static Checks
    uses: ./.github/workflows/static_checks.yml

  # Second stage: Run all the builds and some of the tests.

  ci:
    name: 🛠️ Continuous Integration
    needs: static-checks
    uses: ./.github/workflows/ci.yml