Skip to content

Commit

Permalink
Upgrade to go 1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
mostynb committed Mar 16, 2022
1 parent 60b40a3 commit 50efa15
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .bazelci/buildkite-install-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@

set -euo pipefail

wget -o $HOME/go1.17.5.linux-amd64.tar.gz https://golang.org/dl/go1.17.5.linux-amd64.tar.gz 1>&2
tar -xv -C $HOME -f go1.17.5.linux-amd64.tar.gz 1>&2
pkg=go1.18.linux-amd64.tar.gz

wget -o "$HOME/$pkg" "https://golang.org/dl/$pkg" 1>&2
tar -xv -C "$HOME" -f "$pkg" 1>&2
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_depe

go_rules_dependencies()

go_register_toolchains(version = "1.17.5")
go_register_toolchains(version = "1.18")

http_archive(
name = "rules_proto",
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ require (
gopkg.in/ini.v1 v1.66.2 // indirect
)

go 1.17
go 1.18

0 comments on commit 50efa15

Please sign in to comment.