From fecc02b94653b5dc4348af68028b55ee9d689c0f Mon Sep 17 00:00:00 2001 From: egibs <20933572+egibs@users.noreply.github.com> Date: Wed, 14 Aug 2024 13:20:08 -0500 Subject: [PATCH] Try Zig 0.12.0 Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> --- .github/workflows/release.yaml | 2 +- .goreleaser.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d16a9cc7..93a9c6c7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,7 +25,7 @@ jobs: - uses: sigstore/cosign-installer@4959ce089c160fddf62f7b42464195ba1a56d382 # v3.6.0 - uses: goto-bus-stop/setup-zig@7ab2955eb728f5440978d5824358023be3a2802d with: - version: 0.11.0 # https://github.com/ziglang/zig/issues/20689 + version: 0.12.0 # https://github.com/ziglang/zig/issues/20689 - name: Fix zig-cache permissions run: | mkdir ${{ env.ZIG_USE_GLOBAL_CACHE_DIR }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index a8be44e7..e61d7e6e 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -19,6 +19,7 @@ builds: - -s -w -X main.BuildVersion={{.Env.VERSION}} flags: - -trimpath + - -buildmode=pie env: - CGO_ENABLED=1 - >-