Skip to content

Commit

Permalink
fix: add new go versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Clivern committed Oct 23, 2024
1 parent d48e634 commit c7eac94
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions core/module/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,12 +287,25 @@ var GolangReleases = []string{
"1.21.8",
"1.21.9",
"1.21.10",
"1.21.11",
"1.21.12",
"1.21.13",
"1.22rc1",
"1.22rc2",
"1.22.0",
"1.22.1",
"1.22.2",
"1.22.3",
"1.22.4",
"1.22.5",
"1.22.6",
"1.22.7",
"1.22.8",
"1.23rc1",
"1.23rc2",
"1.23.0",
"1.23.1",
"1.23.2",
}

// goShimContent shim for go binary
Expand Down
2 changes: 1 addition & 1 deletion core/module/golang_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func TestUnitGolang(t *testing.T) {
g.Describe("#Golang", func() {
g.It("It should satisfy test cases", func() {
// Test GetVersions
g.Assert(len(goenv.GetVersions())).Equal(273)
g.Assert(len(goenv.GetVersions())).Equal(286)

// Test SetVersion
versionFile := fmt.Sprintf("%s/.goenv/%s", baseDir, ".go-version")
Expand Down

0 comments on commit c7eac94

Please sign in to comment.