Skip to content

Commit 652db49

Browse files
authored
Merge pull request #2077 from tweag/cg/use_join_jobs
chore: join all CI jobs
2 parents 7c484ed + 1efc991 commit 652db49

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/workflow.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
4040
test-nixpkgs:
4141
name: Build & Test - Nixpkgs
42-
needs:
43-
- lint
4442
strategy:
4543
fail-fast: false
4644
matrix:
@@ -53,6 +51,7 @@ jobs:
5351
- 9.6.2
5452
exclude:
5553
- module: rules_haskell_nix
54+
5655
bzlmod: false
5756
# TODO: in a MODULE.bazel file we declare version specific dependencies, would need to use stack snapshot json
5857
# and stack config per GHC version
@@ -133,8 +132,6 @@ jobs:
133132
134133
test-bindist:
135134
name: Build & Test - bindist
136-
needs:
137-
- lint
138135
strategy:
139136
fail-fast: false
140137
matrix:
@@ -257,3 +254,15 @@ jobs:
257254
with:
258255
name: Logs ${{ matrix.os }} ${{ matrix.module }} ${{ matrix.bzlmod }}
259256
path: logs
257+
258+
all_ci_tests:
259+
runs-on: ubuntu-latest
260+
needs:
261+
- lint
262+
- test-nixpkgs
263+
- test-bindist
264+
if: ${{ always() }}
265+
steps:
266+
- uses: cgrindel/gha_join_jobs@794a2d117251f22607f1aab937d3fd3eaaf9a2f5 # v1
267+
with:
268+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)