Skip to content

Commit ccc783f

Browse files
varshaprasad96bshephar
authored andcommitted
fix sanity tests
Signed-off-by: Varsha Prasad Narsing <[email protected]>
1 parent 8479e38 commit ccc783f

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Go
1818
uses: actions/setup-go@v3
1919
with:
20-
go-version: ~1.19
20+
go-version: ~1.20
2121
id: go
2222

2323
- name: Check out code into the Go module directory
@@ -56,7 +56,7 @@ jobs:
5656
- name: Set up Go
5757
uses: actions/setup-go@v3
5858
with:
59-
go-version: ~1.19
59+
go-version: ~1.20
6060
id: go
6161

6262
- name: Check out code into the Go module directory
@@ -76,7 +76,7 @@ jobs:
7676
- name: Set up Go
7777
uses: actions/setup-go@v3
7878
with:
79-
go-version: ~1.19
79+
go-version: ~1.20
8080
id: go
8181

8282
- name: Check out code into the Go module directory

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install Go
2929
uses: actions/setup-go@v3
3030
with:
31-
go-version: ~1.19
31+
go-version: ~1.20
3232

3333
- name: Create release
3434
run: |

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM --platform=$BUILDPLATFORM golang:1.19 as builder
2+
FROM --platform=$BUILDPLATFORM golang:1.20 as builder
33
ARG TARGETOS
44
ARG TARGETARCH
55

go.mod

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

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/blang/semver/v4 v4.0.0

pkg/plugins/hybrid/v1alpha/scaffolds/internal/templates/dockerfile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func (f *Dockerfile) SetTemplateDefaults() error {
4141
// `api/` and `controller/` they would have to be added.
4242

4343
const dockerfileTemplate = `# Build the manager binary
44-
FROM golang:1.19 as builder
44+
FROM golang:1.20 as builder
4545
4646
WORKDIR /workspace
4747
# Copy the Go Modules manifests

pkg/plugins/hybrid/v1alpha/scaffolds/internal/templates/gomod.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func (f *GoMod) SetTemplateDefaults() error {
4646
const goModTemplate = `
4747
module {{ .Repo }}
4848
49-
go 1.19
49+
go 1.20
5050
5151
require (
5252
sigs.k8s.io/controller-runtime {{ .ControllerRuntimeVersion }}

testdata/hybrid/memcached-operator/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.19 as builder
2+
FROM golang:1.20 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

testdata/hybrid/memcached-operator/go.mod

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

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/onsi/ginkgo/v2 v2.9.5

0 commit comments

Comments
 (0)