From efc44e9291e57258d5c83f4f1acbbdbdc89870bd Mon Sep 17 00:00:00 2001 From: Chuck Grindel Date: Wed, 6 Dec 2023 08:28:39 -0700 Subject: [PATCH 1/3] chore: specify concurrency for the whole workflow --- .github/workflows/workflow.yaml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index cff1dada5..64a352bd8 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -11,12 +11,13 @@ env: # Bump this number to invalidate the GH actions cache cache-version: 0 +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} + jobs: lint: name: Format & Lint - concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-lint - cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -40,9 +41,6 @@ jobs: name: Build & Test - Nixpkgs needs: - lint - concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.module }}-${{ matrix.bzlmod }}-${{ matrix.ghc }}-nixpkgs - cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} strategy: fail-fast: false matrix: @@ -134,9 +132,6 @@ jobs: name: Build & Test - bindist needs: - lint - concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.module }}-${{ matrix.bzlmod }}-${{ matrix.ghc }}-bindist - cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} strategy: fail-fast: false matrix: From 9bbefae562fcf293c6fd80bab34580ca25bd4b61 Mon Sep 17 00:00:00 2001 From: Chuck Grindel Date: Wed, 6 Dec 2023 08:32:00 -0700 Subject: [PATCH 2/3] Make a change --- .github/workflows/workflow.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 64a352bd8..4969637b6 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -11,6 +11,8 @@ env: # Bump this number to invalidate the GH actions cache cache-version: 0 +# TODO: REMOVE THIS COMMENT + concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} From 10e85effad1a73977b36d5e27efbcedbd542ab06 Mon Sep 17 00:00:00 2001 From: Chuck Grindel Date: Wed, 6 Dec 2023 08:32:59 -0700 Subject: [PATCH 3/3] Remove change --- .github/workflows/workflow.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 4969637b6..64a352bd8 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -11,8 +11,6 @@ env: # Bump this number to invalidate the GH actions cache cache-version: 0 -# TODO: REMOVE THIS COMMENT - concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}