Skip to content

Commit 249e6ed

Browse files
committed
ci: run numeric ranges in sequence so only the fallow audit shares the runner
1 parent c7404c5 commit 249e6ed

1 file changed

Lines changed: 7 additions & 12 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,9 @@ jobs:
148148
- name: Setup toolchain
149149
uses: ./.github/actions/setup-node-pnpm
150150

151-
# The two slowest gates run in the background beside the light guards below. A cold fallow
152-
# run costs several minutes on a hosted runner: since fallow 3.20 every import re-walks the
153-
# root tsconfig's project references.
154-
- name: Check numeric ranges
155-
id: freerange
156-
background: true
157-
uses: ./.github/actions/run-gate
158-
with: { gate: freerange }
159-
151+
# The fallow audit runs in the background beside the guards below. A cold fallow run costs
152+
# several minutes on a hosted runner: since fallow 3.20 every import re-walks the root
153+
# tsconfig's project references.
160154
- name: Run Fallow audit
161155
id: fallow-audit
162156
background: true
@@ -257,6 +251,10 @@ jobs:
257251
uses: ./.github/actions/run-gate
258252
with: { gate: daemon-wire-compat }
259253

254+
- name: Check numeric ranges
255+
uses: ./.github/actions/run-gate
256+
with: { gate: freerange }
257+
260258
# Shares fallow's `.fallow` cache directory with the audit, so it starts once the audit ends.
261259
- name: Wait for the Fallow audit
262260
wait: fallow-audit
@@ -265,9 +263,6 @@ jobs:
265263
uses: ./.github/actions/run-gate
266264
with: { gate: production-exports }
267265

268-
- name: Wait for numeric ranges
269-
wait: freerange
270-
271266
# Runs the full unit + provider-integration suites under coverage with
272267
# thresholds, so a separate unit-tests job would rerun the same tests.
273268
coverage:

0 commit comments

Comments
 (0)