From e17ea34ee57497175e2e48bfca912652f6f0cbb4 Mon Sep 17 00:00:00 2001 From: Jayson Grace Date: Mon, 11 May 2026 10:36:20 -0600 Subject: [PATCH] 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 --- .github/workflows/goreleaser.yaml | 4 ++-- .goreleaser.yaml | 9 --------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml index 7f606f86..97a31658 100644 --- a/.github/workflows/goreleaser.yaml +++ b/.github/workflows/goreleaser.yaml @@ -36,7 +36,7 @@ jobs: uses: goreleaser/goreleaser-action@1a80836c5c9d9e5755a25cb59ec6f45a3b5f41a8 # v7 with: distribution: goreleaser - version: latest - args: release --clean + version: "~> v2" + args: release --clean --parallelism 2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 0363e3be..2e788e0f 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -25,17 +25,8 @@ builds: goarch: - amd64 - - arm - arm64 - goarm: - - "6" - - "7" - - goamd64: - - v2 - - v3 - hooks: pre: - cmd: go mod tidy