Merge pull request #1625 from cpcloud/more-ci-concurrency

ci: allow more concurrency in CI
This commit is contained in:
Phillip Cloud 2024-05-02 10:58:49 -04:00 committed by GitHub
commit beb9518b4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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:
@ -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 }}
@ -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"