Skip to content

Commit

Permalink
Update version of Go (#4347)
Browse files Browse the repository at this point in the history
  • Loading branch information
theunrepentantgeek authored Oct 15, 2024
1 parent 496f971 commit efa19bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# See here for image contents: https://github.com/devcontainers/images/blob/main/src/go/.devcontainer/Dockerfile

# This is pinned to a particular version of go:
FROM mcr.microsoft.com/devcontainers/go:1.22
FROM mcr.microsoft.com/devcontainers/go:1.23

# https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope
ARG TARGETARCH
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ GOVER=$(go version)
write-info "Go version: ${GOVER[*]}"

GOVERREGEX=".*go1.([0-9]+).([0-9]+).*"
GOVERREQUIRED="go1.22.*"
GOVERREQUIRED="go1.23.*"
GOVERACTUAL=$(go version | { read _ _ ver _; echo "$ver"; })

if ! [[ $GOVERACTUAL =~ $GOVERREGEX ]]; then
Expand Down

0 comments on commit efa19bc

Please sign in to comment.