Update concurrency group names in GitHub Actions

This change modifies the concurrency group names to include OS and Go version for better differentiation. This prevents conflicts and ensures that concurrent jobs are properly managed based on their specific matrices.
This commit is contained in:
Winni Neessen 2024-10-26 15:52:27 +02:00
parent eeccee0d94
commit f82ac0c5ae
Signed by: wneessen
GPG key ID: 385AC9889632126E

View file

@ -19,7 +19,7 @@ jobs:
name: Test with Codecov coverage (${{ matrix.os }} / ${{ matrix.go }}) name: Test with Codecov coverage (${{ matrix.os }} / ${{ matrix.go }})
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
concurrency: concurrency:
group: ci-codecov group: ci-codecov-${{ matrix.os }}-${{ matrix.go }}
cancel-in-progress: true cancel-in-progress: true
strategy: strategy:
matrix: matrix:
@ -57,7 +57,7 @@ jobs:
name: golangci-lint (${{ matrix.go }}) name: golangci-lint (${{ matrix.go }})
runs-on: ubuntu-latest runs-on: ubuntu-latest
concurrency: concurrency:
group: ci-lint group: ci-lint-${{ matrix.go }}
cancel-in-progress: true cancel-in-progress: true
strategy: strategy:
matrix: matrix:
@ -110,7 +110,7 @@ jobs:
name: Test (${{ matrix.os }} / ${{ matrix.go }}) name: Test (${{ matrix.os }} / ${{ matrix.go }})
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
concurrency: concurrency:
group: ci-test group: ci-test-${{ matrix.os }}-${{ matrix.go }}
cancel-in-progress: true cancel-in-progress: true
strategy: strategy:
matrix: matrix:
@ -149,7 +149,7 @@ jobs:
name: Test with SonarQube review (${{ matrix.os }} / ${{ matrix.go }}) name: Test with SonarQube review (${{ matrix.os }} / ${{ matrix.go }})
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
concurrency: concurrency:
group: ci-codecov group: ci-codecov-${{ matrix.go }}
cancel-in-progress: true cancel-in-progress: true
strategy: strategy:
matrix: matrix: