Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 7d2dab3

Browse files
committed
More go 1.19 updates
Signed-off-by: Chris Privitere <[email protected]>
1 parent 105695c commit 7d2dab3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/actions/setup-go/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
version:
55
description: 'Go Version to setup'
66
required: true
7-
default: "1.17"
7+
default: "1.19"
88
runs:
99
using: "composite"
1010
steps:

hack/ensure-go.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ set -o pipefail
2222
verify_go_version() {
2323
if [[ -z "$(command -v go)" ]]; then
2424
if [[ "${INSTALL_GO:-"true"}" == "true" ]]; then
25-
curl -sSL https://golang.org/dl/go${GO_VERSION:-"1.17.7"}.linux-amd64.tar.gz | tar -C /usr/local -xzf -
25+
curl -sSL https://golang.org/dl/go${GO_VERSION:-"1.19"}.linux-amd64.tar.gz | tar -C /usr/local -xzf -
2626
export PATH=/usr/local/go/bin:$PATH
2727
export PATH=$(go env GOPATH)/bin:$PATH
2828
else
@@ -37,7 +37,7 @@ EOF
3737
local go_version
3838
IFS=" " read -ra go_version <<< "$(go version)"
3939
local minimum_go_version
40-
minimum_go_version=1.17.0
40+
minimum_go_version=go1.19
4141
if [[ "${minimum_go_version}" != $(echo -e "${minimum_go_version}\n${go_version[2]}" | sort -s -t. -k 1,1 -k 2,2n -k 3,3n | head -n1) && "${go_version[2]}" != "devel" ]]; then
4242
cat <<EOF
4343
Detected go version: ${go_version[*]}.

0 commit comments

Comments
 (0)