From 390932b10fb892feefb7fc516997fa08fda07fdc Mon Sep 17 00:00:00 2001 From: Raymond Douglas Date: Thu, 22 Aug 2024 09:49:25 -0700 Subject: [PATCH] lock releaser at `v5` (#37) --- .github/workflows/main.yaml | 2 +- .goreleaser.yaml | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index c980872..3459477 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -54,7 +54,7 @@ jobs: run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} - name: Release - uses: goreleaser/goreleaser-action@v6 + uses: goreleaser/goreleaser-action@v5 with: distribution: goreleaser version: latest diff --git a/.goreleaser.yaml b/.goreleaser.yaml index ea250c5..d8d03eb 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,5 +1,11 @@ builds: -- goos: +- env: + - CGO_ENABLED=0 + ldflags: + - -extldflags "-static" + flags: + - -trimpath + goos: - linux - darwin goarch: