Skip to content

Commit 5abfbd1

Browse files
upgrade to go 1.21 (#77)
Signed-off-by: raffaelespazzoli <[email protected]>
1 parent 1565d00 commit 5abfbd1

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

.github/workflows/pr.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ on:
88
jobs:
99
shared-operator-workflow:
1010
name: shared-operator-workflow
11-
uses: redhat-cop/github-workflows-operators/.github/workflows/[email protected].4
11+
uses: redhat-cop/github-workflows-operators/.github/workflows/[email protected].7
1212
with:
1313
RUN_UNIT_TESTS: true
1414
RUN_INTEGRATION_TESTS: false
1515
RUN_HELMCHART_TEST: true
16-
GO_VERSION: ~1.18
16+
GO_VERSION: ~1.21
1717
OPERATOR_SDK_VERSION: v1.23.0

.github/workflows/push.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
shared-operator-workflow:
1212
name: shared-operator-workflow
13-
uses: redhat-cop/github-workflows-operators/.github/workflows/[email protected].4
13+
uses: redhat-cop/github-workflows-operators/.github/workflows/[email protected].7
1414
secrets:
1515
COMMUNITY_OPERATOR_PAT: ${{ secrets.COMMUNITY_OPERATOR_PAT }}
1616
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
@@ -20,5 +20,5 @@ jobs:
2020
RUN_UNIT_TESTS: true
2121
RUN_INTEGRATION_TESTS: false
2222
RUN_HELMCHART_TEST: true
23-
GO_VERSION: ~1.18
23+
GO_VERSION: ~1.21
2424
OPERATOR_SDK_VERSION: v1.23.0

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.18 as builder
2+
FROM golang:1.21 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/redhat-cop/patch-operator
22

3-
go 1.18
3+
go 1.21.9
44

55
require (
66
github.com/evanphx/json-patch v5.6.0+incompatible

go.sum

+1
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,7 @@ go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
567567
go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A=
568568
go.uber.org/goleak v1.1.11-0.20210813005559-691160354723/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ=
569569
go.uber.org/goleak v1.1.12 h1:gZAh5/EyT/HQwlpkCy6wTpqfH9H8Lz8zbm3dZh+OyzA=
570+
go.uber.org/goleak v1.1.12/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ=
570571
go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0=
571572
go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4=
572573
go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU=

0 commit comments

Comments
 (0)