Skip to content

Commit

Permalink
Merge pull request #1625 from cpcloud/more-ci-concurrency
Browse files Browse the repository at this point in the history
ci: allow more concurrency in CI
  • Loading branch information
cpcloud authored May 2, 2024
2 parents 64a3034 + de6edf5 commit beb9518
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
- "master"

concurrency:
group: ${{ github.repository }}-${{ github.workflow }}
cancel-in-progress: false
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
cancel-in-progress: true

jobs:
nix-matrix:
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:

- name: generate poetry.lock
working-directory: ${{ env.TESTDIR }}
run: nix develop -c poetry lock --no-update
run: nix develop '.#poetry' -c poetry lock --no-update

- name: create a minimal python package
working-directory: ${{ env.TESTDIR }}
Expand Down Expand Up @@ -139,6 +139,9 @@ jobs:
needs: collect
name: "Release"
runs-on: "ubuntu-latest"
concurrency:
group: ${{ github.repository }}-${{ github.workflow }}
cancel-in-progress: false
steps:
- uses: actions/checkout@v4
- name: "Generate tag"
Expand Down

0 comments on commit beb9518

Please sign in to comment.