fix goreleaser

and undo some AI changes 😔
This commit is contained in:
Jaime Pillora
2025-09-14 10:02:05 +10:00
parent 864b1c0b31
commit d56938d7a2
2 changed files with 16 additions and 13 deletions
+15 -6
View File
@@ -14,7 +14,7 @@ builds:
- windows
- openbsd
goarch:
- 386
- "386"
- amd64
- arm
- arm64
@@ -26,20 +26,29 @@ builds:
- mips64le
- s390x
goarm:
- 5
- 6
- 7
- "5"
- "6"
- "7"
gomips:
- hardfloat
- softfloat
ignore:
# https://github.com/golang/go/issues/70705
- goos: windows
goarch: arm
nfpms:
- maintainer: "https://github.com/{{ .Env.GITHUB_USER }}"
- maintainer: "https://github.com/jpillora"
formats:
- deb
- rpm
- apk
archives:
- files:
- formats:
- gz
format_overrides:
- goos: windows
formats: [zip]
files:
- none*
release:
draft: true
+1 -7
View File
@@ -11,8 +11,7 @@ jobs:
name: Build & Test
strategy:
matrix:
# optionally test/build across multiple platforms/Go-versions
go-version: ["1.25.1"] # '1.16', '1.17', '1.18,
go-version: ["stable"]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
@@ -42,11 +41,6 @@ jobs:
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: "1.25.1"
check-latest: true
- name: goreleaser
if: success()
uses: docker://goreleaser/goreleaser:latest