Skip to content

Commit

Permalink
Set concurrency for GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
emi80 committed Jun 17, 2024
1 parent 47ab4f2 commit 756af53
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
JAVA_VERSION: 17
JAVA_DISTRO: zulu
Expand All @@ -17,7 +21,6 @@ jobs:
pipeline-test:
name: Pipeline tests
runs-on: ubuntu-latest
needs: workflow-test

strategy:
fail-fast: false
Expand Down Expand Up @@ -50,7 +53,6 @@ jobs:
workflow-test:
name: Workflow tests
runs-on: ubuntu-latest
needs: module-test

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

0 comments on commit 756af53

Please sign in to comment.