Skip to content

Commit

Permalink
Add concurrency group to ci-go-cover.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fxamacker authored Sep 29, 2024
1 parent b34a923 commit 33c14c9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci-go-cover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ on:
push:
branches: [main, master]

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

jobs:

# Verify minimum coverage is reached using `go test -short -cover` on latest-ubuntu with default version of Go.
Expand All @@ -40,7 +44,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: 1.21
go-version: 1.23
check-latest: true
- name: Install x448/float16
run: go get github.com/x448/[email protected]
Expand Down

0 comments on commit 33c14c9

Please sign in to comment.