Bump Go patch version to 1.22.4 (#3593)

This commit is contained in:
Nikola Jokic 2024-06-17 10:36:23 +02:00 committed by GitHub
parent 2cc793a835
commit 0a6208e38d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
# Build the manager binary # Build the manager binary
FROM --platform=$BUILDPLATFORM golang:1.22.1 as builder FROM --platform=$BUILDPLATFORM golang:1.22.4 as builder
WORKDIR /workspace WORKDIR /workspace

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/actions/actions-runner-controller module github.com/actions/actions-runner-controller
go 1.22.1 go 1.22.4
require ( require (
github.com/bradleyfalzon/ghinstallation/v2 v2.8.0 github.com/bradleyfalzon/ghinstallation/v2 v2.8.0

View File

@ -1106,7 +1106,7 @@ func installActionsWorkflow(t *testing.T, testName, runnerLabel, testResultCMNam
testing.Step{ testing.Step{
Uses: "actions/setup-go@v3", Uses: "actions/setup-go@v3",
With: &testing.With{ With: &testing.With{
GoVersion: "1.22.1", GoVersion: "1.22.4",
}, },
}, },
) )
@ -1236,7 +1236,7 @@ func installActionsWorkflow(t *testing.T, testName, runnerLabel, testResultCMNam
testing.Step{ testing.Step{
Uses: "azure/setup-kubectl@v1", Uses: "azure/setup-kubectl@v1",
With: &testing.With{ With: &testing.With{
Version: "v1.22.1", Version: "v1.22.4",
}, },
}, },
testing.Step{ testing.Step{

View File

@ -355,7 +355,7 @@ nodes:
image: %s image: %s
`, k.Name, image, image)) `, k.Name, image, image))
if err := os.WriteFile(f.Name(), kindConfig, 0644); err != nil { if err := os.WriteFile(f.Name(), kindConfig, 0o644); err != nil {
return err return err
} }
@ -385,7 +385,7 @@ func (k *Kind) LoadImages(ctx context.Context, images []ContainerImage) error {
} }
tmpDir := filepath.Join(wd, ".testing", k.Name) tmpDir := filepath.Join(wd, ".testing", k.Name)
if err := os.MkdirAll(tmpDir, 0755); err != nil { if err := os.MkdirAll(tmpDir, 0o755); err != nil {
return err return err
} }
defer func() { defer func() {