Skip to content

Commit ce7710d

Browse files
Upgrade to go 1.20 and update dependencies + point to a compatible MCAD
1 parent a4590ea commit ce7710d

File tree

13 files changed

+100
-111
lines changed

13 files changed

+100
-111
lines changed

.github/workflows/e2e_tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Set Go
4646
uses: actions/setup-go@v3
4747
with:
48-
go-version: v1.19
48+
go-version: v1.20
4949

5050
- name: Set up gotestfmt
5151
uses: gotesttools/gotestfmt-action@v2

.github/workflows/olm_tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Set Go
4545
uses: actions/setup-go@v3
4646
with:
47-
go-version: v1.19
47+
go-version: v1.20
4848

4949
- name: Set up gotestfmt
5050
uses: gotesttools/gotestfmt-action@v2

.github/workflows/operator-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set Go
2323
uses: actions/setup-go@v3
2424
with:
25-
go-version: v1.19
25+
go-version: v1.20
2626

2727
- name: Login to Quay.io
2828
uses: redhat-actions/podman-login@v1

.github/workflows/precommit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set Go
2727
uses: actions/setup-go@v3
2828
with:
29-
go-version: v1.19
29+
go-version: v1.20
3030

3131
- name: Activate cache
3232
uses: actions/cache@v3

.github/workflows/tag-and-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- name: Set Go
6565
uses: actions/setup-go@v3
6666
with:
67-
go-version: v1.19
67+
go-version: v1.20
6868

6969
- name: Verify that release doesn't exist yet
7070
shell: bash {0}

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set Go
2828
uses: actions/setup-go@v3
2929
with:
30-
go-version: v1.19
30+
go-version: v1.20
3131

3232
- name: Activate cache
3333
uses: actions/cache@v3

.github/workflows/verify_generated_files.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set Go
2525
uses: actions/setup-go@v3
2626
with:
27-
go-version: v1.19
27+
go-version: v1.20
2828
- name: Verify that imports are organized
2929
run: make verify-imports
3030

@@ -35,6 +35,6 @@ jobs:
3535
- name: Set Go
3636
uses: actions/setup-go@v3
3737
with:
38-
go-version: v1.19
38+
go-version: v1.20
3939
- name: Verify that the latest WebhookConfigurations, ClusterRoles, and CustomResourceDefinitions have been generated
4040
run: make manifests && git diff --exit-code

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Here are a few things to go over before getting started with CodeFlare Operator
55
## Environment setup
66

77
The following should be installed in your working environment:
8-
- Go 1.19.x
8+
- Go 1.20.x
99
- [Download release](https://go.dev/dl/)
1010
- [Install Instructions](https://go.dev/doc/install)
1111
- [Operator SDK](https://sdk.operatorframework.io/docs/installation/)

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 registry.access.redhat.com/ubi8/go-toolset:1.19.13 as builder
2+
FROM registry.access.redhat.com/ubi8/go-toolset:1.20.10 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ SED ?= /usr/bin/sed
229229
KUSTOMIZE_VERSION ?= v4.5.4
230230
CODEGEN_VERSION ?= v0.27.2
231231
CONTROLLER_TOOLS_VERSION ?= v0.9.2
232-
YQ_VERSION ?= v4.30.8 ## latest version that works with go1.19
232+
YQ_VERSION ?= v4.35.2 ## latest version that works with go1.20
233233
OPERATOR_SDK_VERSION ?= v1.27.0
234234
GH_CLI_VERSION ?= 2.30.0
235235

0 commit comments

Comments
 (0)