Merge pull request #93 from asdf-vm/tb/go-upgrade

chore(golang-rewrite): upgrade to Go 1.23.4
This commit is contained in:
Trevor Brown 2024-12-14 13:38:43 -05:00 committed by Trevor Brown
commit f027456316
5 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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 }}

View File

@ -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 ./...

View File

@ -1,4 +1,4 @@
golang 1.21.5
golang 1.23.4
bats 1.8.2
shellcheck 0.9.0
shfmt 3.6.0

2
go.mod
View File

@ -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