From 4f39924a0c2c5b584472dc20be2ccc811abdfcaf Mon Sep 17 00:00:00 2001 From: Omer Murat Yildirim Date: Thu, 24 Oct 2024 18:08:30 +0300 Subject: [PATCH] fix goreleaser --- .github/workflows/release.yml | 2 +- .goreleaser.yml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 584d294..0b4f8fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.23.1 - diff --git a/.goreleaser.yml b/.goreleaser.yml index f562857..4698ef8 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,7 +1,10 @@ +version: 2 + before: hooks: - - go install github.com/rakyll/statik@v0.1.7 && statik -src=./server/static -include='*.html' + - go run github.com/rakyll/statik@latest -src=./server/static -include=*.html - go mod download + builds: - env: - CGO_ENABLED=0