Skip to content

Commit e17ea34

Browse files
committed
build: update goreleaser workflow and config for improved compatibility
**Changed:** - Updated goreleaser GitHub Action to use version constraint "~> v2" instead of "latest" and added parallelism argument for release step in goreleaser.yaml - Removed support for arm (non-arm64) and goarm variants, as well as goamd64 variants v2 and v3 from build matrix in .goreleaser.yaml, simplifying target architectures
1 parent e36ed87 commit e17ea34

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

.github/workflows/goreleaser.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
uses: goreleaser/goreleaser-action@1a80836c5c9d9e5755a25cb59ec6f45a3b5f41a8 # v7
3737
with:
3838
distribution: goreleaser
39-
version: latest
40-
args: release --clean
39+
version: "~> v2"
40+
args: release --clean --parallelism 2
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.goreleaser.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,8 @@ builds:
2525

2626
goarch:
2727
- amd64
28-
- arm
2928
- arm64
3029

31-
goarm:
32-
- "6"
33-
- "7"
34-
35-
goamd64:
36-
- v2
37-
- v3
38-
3930
hooks:
4031
pre:
4132
- cmd: go mod tidy

0 commit comments

Comments
 (0)