diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7af64e5bf..2c7e02888 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,12 +19,12 @@ jobs: name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.20 + go-version: 1.22.0 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUBRELEASETOKEN }} \ No newline at end of file diff --git a/.goreleaser.yml b/.goreleaser.yml index 38294adfe..768b80d2c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -3,7 +3,7 @@ before: hooks: # You may remove this if you don't use go modules. - - go mod tidy + - go mod download builds: - env: - CGO_ENABLED=0