Skip to content

Commit 0785bbb

Browse files
authored
Update Go runtime to 1.20.3 (#1225)
1 parent 047ff96 commit 0785bbb

File tree

7 files changed

+7
-11
lines changed

7 files changed

+7
-11
lines changed

.buildkite/pipeline.package-storage-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ steps:
88
- "make install"
99
- "cd test/packages/package-storage/package_storage_candidate; elastic-package build -v --zip"
1010
agents:
11-
image: "golang:1.19.5"
11+
image: "golang:1.20.3"
1212
cpu: "8"
1313
memory: "4G"
1414
artifact_paths:

.buildkite/pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ steps:
1010
key: check-static
1111
command: "make check-static"
1212
agents:
13-
image: "golang:1.19.5"
13+
image: "golang:1.20.3"
1414
cpu: "8"
1515
memory: "4G"
1616

@@ -21,7 +21,7 @@ steps:
2121
- "build/test-results/*.xml"
2222
- "build/test-coverage/*.xml"
2323
agents:
24-
image: "golang:1.19.5"
24+
image: "golang:1.20.3"
2525
cpu: "8"
2626
memory: "4G"
2727

.buildkite/scripts/triggerJenkinsJob/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/elastic/trigger-jenkins-buildkite-plugin
22

3-
go 1.19
3+
go 1.20
44

55
require github.com/bndr/gojenkins v1.1.0
66

.buildkite/scripts/unit_tests_windows.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ git rm --quiet --cached -r .
66
git reset --quiet --hard
77

88
echo "--- Installing golang"
9-
choco install -y golang --version 1.19.5
9+
choco install -y golang --version 1.20.3
1010

1111
echo "--- Updating session environment"
1212
# refreshenv requires to have chocolatey profile installed

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.19.5
1+
1.20.3

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/elastic/elastic-package
22

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/AlecAivazis/survey/v2 v2.3.6

main.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ package main
66

77
import (
88
"log"
9-
"math/rand"
109
"os"
11-
"time"
1210

1311
"github.com/pkg/errors"
1412

@@ -17,8 +15,6 @@ import (
1715
)
1816

1917
func main() {
20-
rand.Seed(time.Now().UnixNano())
21-
2218
rootCmd := cmd.RootCmd()
2319

2420
err := install.EnsureInstalled()

0 commit comments

Comments
 (0)