From 36d7240b64c239bb8297e6c108f4d33ce50530eb Mon Sep 17 00:00:00 2001 From: Trevor Brown Date: Sat, 14 Dec 2024 13:14:24 -0500 Subject: [PATCH] chore(golang-rewrite): upgrade to Go 1.23.4 * Fix `release-build` workflow * Upgrade to Go 1.23.4 --- .github/workflows/lint.yml | 2 +- .github/workflows/release-build.yml | 3 ++- .github/workflows/tests.yml | 2 +- .tool-versions | 2 +- go.mod | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index bd913daf..d96ab67a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -28,7 +28,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: '1.21.5' + go-version: '1.23.4' - name: Install dependencies run: go get ./... - name: Install gofumpt for formatting diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index fcdaf694..aeb647ba 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -108,8 +108,9 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} - goversion: "1.21.5" + goversion: "1.23.4" binary_name: "asdf" + project_path: ./cmd/asdf release_tag: ${{ needs.generate-release-tag.outputs.tag }} release_name: ${{ needs.generate-release-tag.outputs.tag }} ldflags: -s -X main.version=${{ steps.asdf-version.outputs.version }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dd5dbe9f..8dd87832 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -47,7 +47,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: '1.21.5' + go-version: '1.23.4' - run: scripts/install_dependencies.bash - name: Install dependencies run: go get ./... diff --git a/.tool-versions b/.tool-versions index f0ce08ce..a7416c9e 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,4 +1,4 @@ -golang 1.21.5 +golang 1.23.4 bats 1.8.2 shellcheck 0.9.0 shfmt 3.6.0 diff --git a/go.mod b/go.mod index 350d8de1..79122e06 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/asdf-vm/asdf -go 1.21.5 +go 1.23.4 require ( github.com/go-git/go-git/v5 v5.11.0