Skip to content

Commit 57bcc5b

Browse files
authored
Merge pull request #25 from cisagov/improvement/fix_workflow_requirements
Fix the `needs` configurations for the `test` and `build` jobs in the `build` workflow
2 parents 862d289 + 062b1cb commit 57bcc5b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,9 @@ jobs:
170170
if: env.RUN_TMATE
171171
test:
172172
runs-on: ubuntu-latest
173-
needs: lint
173+
needs:
174+
- diagnostics
175+
- lint
174176
steps:
175177
- id: harden-runner
176178
name: Harden the runner
@@ -210,6 +212,7 @@ jobs:
210212
build:
211213
runs-on: ubuntu-latest
212214
needs:
215+
- diagnostics
213216
- lint
214217
- test
215218
strategy:

0 commit comments

Comments
 (0)