Skip to content

Commit

Permalink
#20 set actions concurrency in matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
kwabenantim committed Mar 19, 2024
1 parent a0e18d4 commit 0872f3b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ on:
branches:
- "**"

concurrency:
group: build-and-test-${{ github.ref }}
cancel-in-progress: true

jobs:
build-and-test:
runs-on: ubuntu-latest
Expand All @@ -18,6 +14,10 @@ jobs:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

concurrency:
group: build-and-test-${{ github.ref }}-${{ matrix.python-version }}
cancel-in-progress: true

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 0872f3b

Please sign in to comment.