From d14584e7f227fee55d857694d6ba7dc7e74d8f3c Mon Sep 17 00:00:00 2001 From: Chuck Grindel Date: Sat, 9 Dec 2023 06:51:42 -0700 Subject: [PATCH] chore: join all CI jobs --- .github/workflows/workflow.yaml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 64a352bd8..dfd886e39 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -39,8 +39,6 @@ jobs: test-nixpkgs: name: Build & Test - Nixpkgs - needs: - - lint strategy: fail-fast: false matrix: @@ -52,6 +50,7 @@ jobs: - 9.4.6 exclude: - module: rules_haskell_nix + bzlmod: false # TODO: in a MODULE.bazel file we declare version specific dependencies, would need to use stack snapshot json # and stack config per GHC version @@ -130,8 +129,6 @@ jobs: test-bindist: name: Build & Test - bindist - needs: - - lint strategy: fail-fast: false matrix: @@ -254,3 +251,15 @@ jobs: with: name: Logs ${{ matrix.os }} ${{ matrix.module }} ${{ matrix.bzlmod }} path: logs + + all_ci_tests: + runs-on: ubuntu-latest + needs: + - lint + - test-nixpkgs + - test-bindist + if: ${{ always() }} + steps: + - uses: cgrindel/gha_join_jobs@794a2d117251f22607f1aab937d3fd3eaaf9a2f5 # v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }}