Skip to content

Commit

Permalink
Configure concurrency for all CI. (#106)
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand authored Feb 22, 2024
1 parent c3f55e4 commit 252b071
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/csharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ on:
permissions:
contents: read

concurrency:
group: C#-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
run-tests:
timeout-minutes: 15
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
- go/**
- .github/workflows/go.yml

concurrency:
group: go-${{ github.head_ref || github.ref }}
cancel-in-progress: true


jobs:
build-and-test-go-client:
timeout-minutes: 20
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ on:
- "java/**"
- ".github/workflows/java.yml"

concurrency:
group: java-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
build-and-test-java-client:
timeout-minutes: 25
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/lint-ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ on:
- benchmarks/utilities/*
- .github/workflows/lint-ts.yml

concurrency:
group: node-lint-${{ github.head_ref || github.ref }}
cancel-in-progress: true

env:
CARGO_TERM_COLOR: always
jobs:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ on:
- .github/workflows/build-node-wrapper/action.yml
- .github/workflows/install-shared-dependencies/action.yml

concurrency:
group: node-${{ github.head_ref || github.ref }}
cancel-in-progress: true

env:
CARGO_TERM_COLOR: always

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ on:
- .github/workflows/install-shared-dependencies/action.yml
- .github/workflows/install-redis-modules/action.yml

concurrency:
group: python-${{ github.head_ref || github.ref }}
cancel-in-progress: true

permissions:
contents: read
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ on:
- utils/cluster_manager.py
- .github/workflows/rust.yml

concurrency:
group: rust-${{ github.head_ref || github.ref }}
cancel-in-progress: true

env:
CARGO_TERM_COLOR: always

Expand Down

0 comments on commit 252b071

Please sign in to comment.