Skip to content

Commit 0f7b3b6

Browse files
author
Paulo Gomes
authored
Merge pull request #505 from pjbgf/go-1.18
build: Upgrade to Go 1.18
2 parents 8165e27 + c945cd6 commit 0f7b3b6

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

.github/workflows/e2e.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Setup Go
4444
uses: actions/setup-go@v3
4545
with:
46-
go-version: 1.17.x
46+
go-version: 1.18.x
4747
- name: Setup Kubernetes
4848
uses: engineerd/setup-kind@v0.5.0
4949
with:

DEVELOPMENT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ If any of the above dependencies are not present on your system, the first invoc
2424
## How to run the test suite
2525

2626
Prerequisites:
27-
* Go >= 1.17
27+
* Go >= 1.18
2828

2929
You can run the test suite by simply doing
3030

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GO_VERSION=1.17
1+
ARG GO_VERSION=1.18
22
ARG XX_VERSION=1.1.0
33

44
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ api-docs: gen-crd-api-reference-docs
7777

7878
# Run go mod tidy
7979
tidy:
80-
cd api; rm -f go.sum; go mod tidy -compat=1.17
81-
rm -f go.sum; go mod tidy -compat=1.17
80+
cd api; rm -f go.sum; go mod tidy -compat=1.18
81+
rm -f go.sum; go mod tidy -compat=1.18
8282

8383
# Run go fmt against code
8484
fmt:

api/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/fluxcd/helm-controller/api
22

3-
go 1.17
3+
go 1.18
44

55
require (
66
github.com/fluxcd/pkg/apis/kustomize v0.4.1

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/fluxcd/helm-controller
22

3-
go 1.17
3+
go 1.18
44

55
replace github.com/fluxcd/helm-controller/api => ./api
66

tests/fuzz/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/fluxcd/helm-controller/tests/fuzz
33
// This module is used only to avoid polluting the main module
44
// with fuzz dependencies.
55

6-
go 1.17
6+
go 1.18
77

88
// Overwrite with local replace to ensure tests run with current state.
99
replace (

0 commit comments

Comments
 (0)