Skip to content

Commit

Permalink
feat: bump downloaded go to version 1.23.4
Browse files Browse the repository at this point in the history
If Sage is invoked in an environment where Go is not available in `$PATH`,
Sage will download it.

This should not affect any users that has Go installed outside of an
Sage repo.
  • Loading branch information
thall committed Jan 8, 2025
1 parent ada502f commit 7e3827f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sagefile := $(abspath $(cwd)/.sage/bin/sagefile)
go := $(shell command -v go 2>/dev/null)
export GOWORK ?= off
ifndef go
SAGE_GO_VERSION ?= 1.20.2
SAGE_GO_VERSION ?= 1.23.4
export GOROOT := $(abspath $(cwd)/.sage/tools/go/$(SAGE_GO_VERSION)/go)
export PATH := $(PATH):$(GOROOT)/bin
go := $(GOROOT)/bin/go
Expand Down
2 changes: 1 addition & 1 deletion sg/makefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"go.einride.tech/sage/internal/strcase"
)

const defaultGoVersion = "1.20.2"
const defaultGoVersion = "1.23.4"

type Makefile struct {
Namespace interface{}
Expand Down

0 comments on commit 7e3827f

Please sign in to comment.