From 0a6208e38d3b22bad4a39e89e27985f7c4e7f664 Mon Sep 17 00:00:00 2001 From: Nikola Jokic Date: Mon, 17 Jun 2024 10:36:23 +0200 Subject: [PATCH] Bump Go patch version to 1.22.4 (#3593) --- Dockerfile | 2 +- go.mod | 2 +- test/e2e/e2e_test.go | 4 ++-- testing/testing.go | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 82ddfcd2..3ab2929e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM --platform=$BUILDPLATFORM golang:1.22.1 as builder +FROM --platform=$BUILDPLATFORM golang:1.22.4 as builder WORKDIR /workspace diff --git a/go.mod b/go.mod index 74a42a3d..89017cab 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/actions/actions-runner-controller -go 1.22.1 +go 1.22.4 require ( github.com/bradleyfalzon/ghinstallation/v2 v2.8.0 diff --git a/test/e2e/e2e_test.go b/test/e2e/e2e_test.go index aac5d556..ea83bb3a 100644 --- a/test/e2e/e2e_test.go +++ b/test/e2e/e2e_test.go @@ -1106,7 +1106,7 @@ func installActionsWorkflow(t *testing.T, testName, runnerLabel, testResultCMNam testing.Step{ Uses: "actions/setup-go@v3", 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{ Uses: "azure/setup-kubectl@v1", With: &testing.With{ - Version: "v1.22.1", + Version: "v1.22.4", }, }, testing.Step{ diff --git a/testing/testing.go b/testing/testing.go index 4f691059..c8781dda 100644 --- a/testing/testing.go +++ b/testing/testing.go @@ -355,7 +355,7 @@ nodes: image: %s `, 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 } @@ -385,7 +385,7 @@ func (k *Kind) LoadImages(ctx context.Context, images []ContainerImage) error { } 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 } defer func() {