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