Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure concurrency for all CI. #106

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just in case, can you call it csharp-

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or dontnet-

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 }}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one is quick, no? I'm not sure why we have a separate workflow for this, but do we really care?
...I mean, it also doesn't hurt.

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
Loading