Skip to content

Commit 671ec8f

Browse files
oyvindbergclaude
andcommitted
Add CI concurrency control and fail-fast
- Add concurrency group to cancel in-progress builds when new commit pushed - Change postgres matrix fail-fast to true 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent d3939eb commit 671ec8f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
pull_request:
77
branches: [ 'main' ]
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
scalafmt:
1115
timeout-minutes: 10
@@ -70,7 +74,7 @@ jobs:
7074
timeout-minutes: 25
7175
if: "!contains(github.event.head_commit.message, 'ci skip')"
7276
strategy:
73-
fail-fast: false
77+
fail-fast: true
7478
matrix:
7579
postgres-version: [12, 16]
7680
steps:

0 commit comments

Comments
 (0)