Skip to content

Commit aea92a7

Browse files
committed
ref fast fail precommit
1 parent 52c8c25 commit aea92a7

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ concurrency:
1414
cancel-in-progress: true
1515

1616
jobs:
17+
call-precommit:
18+
uses: ./.github/workflows/pre_commit.yml
19+
1720
main:
21+
needs: call-precommit
1822
strategy:
1923
fail-fast: false
2024
matrix:
@@ -183,6 +187,7 @@ jobs:
183187
run: ci/run.sh codecov
184188

185189
freebsd-vm:
190+
needs: call-precommit
186191
strategy:
187192
fail-fast: false
188193
matrix:
@@ -285,6 +290,7 @@ jobs:
285290
run: echo 'FreeBSD VM check made optional because of random time outs'
286291

287292
arm-qemu:
293+
needs: call-precommit
288294
name: 'Ubuntu 24.04 x64, DMD (AArch64 cross-compile via QEMU)'
289295
runs-on: ubuntu-latest
290296
timeout-minutes: 30

.github/workflows/pre_commit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- master
1111
- stable
1212
workflow_dispatch:
13+
workflow_call:
1314

1415
jobs:
1516
pre-commit:

0 commit comments

Comments
 (0)