From 7235deb12ffd72ccd7a56a06f1ae2b9c90c66853 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jer=C3=B3nimo=20Albi?= Date: Tue, 10 Oct 2023 11:05:07 +0200 Subject: [PATCH] fix: change Go version in nightly release config to `1.21.2` (#3688) * fix: change Go version in nightly release config to `1.21.2` The release action requires a version that includes the patch version to be able to download the right tarball with the Go binary. See https://github.com/wangyoucao577/go-release-action/blob/2ac3035fa4c4feed6a8272ce278b0577b93cf8e5/setup-go.sh#L24 * chore: change go releaser to use the lates Go version Latest is the default but it's setted here to be explicit about that fact. See https://github.com/wangyoucao577/go-release-action#parameters --- .github/workflows/release-nightly.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml index 32b760c999..fb6889ab4d 100644 --- a/.github/workflows/release-nightly.yml +++ b/.github/workflows/release-nightly.yml @@ -61,7 +61,7 @@ jobs: goarch: [amd64, arm64] steps: - uses: actions/checkout@v3 - - uses: wangyoucao577/go-release-action@v1.38 + - uses: wangyoucao577/go-release-action@v1.40 with: github_token: ${{ secrets.GITHUB_TOKEN }} project_path: "./ignite/cmd/ignite" @@ -71,5 +71,5 @@ jobs: goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} ldflags: -s -w -X github.com/ignite/cli/ignite/version.Version=nightly - goversion: "./go.mod" + goversion: "latest" retry: 10