Skip to content

Commit

Permalink
Add concurrency group to ci.yml
Browse files Browse the repository at this point in the history
While at it, bump go-version to go1.22 and go1.23
and remove older versions from list.
  • Loading branch information
fxamacker authored Sep 30, 2024
1 parent 6aa19f7 commit 647087a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ on:
- 'feature/**'
- 'v**'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

jobs:

# Test on various OS with default Go version.
Expand All @@ -31,7 +35,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
go-version: ['1.20', 1.21, 1.22]
go-version: ['1.22', '1.23']

steps:
- name: Install Go
Expand Down

0 comments on commit 647087a

Please sign in to comment.