Skip to content

Commit b47d468

Browse files
phillebabastefanprodan
authored andcommitted
Upgrade to go 1.18
Signed-off-by: Philip Laine <[email protected]>
1 parent b7aa05c commit b47d468

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ If any of the above dependencies are not present on your system, the first invoc
4545
## How to run the test suite
4646

4747
Prerequisites:
48-
* Go >= 1.17
48+
* Go >= 1.18
4949

5050
You can run the test suite by simply doing
5151

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG BASE_VARIANT=alpine
2-
ARG GO_VERSION=1.17
2+
ARG GO_VERSION=1.18
33
ARG XX_VERSION=1.1.2
44

55
ARG LIBGIT2_IMG=ghcr.io/fluxcd/golang-with-libgit2-only

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ api-docs: gen-crd-api-reference-docs ## Generate API reference documentation
125125
$(GEN_CRD_API_REFERENCE_DOCS) -api-dir=./api/v1beta2 -config=./hack/api-docs/config.json -template-dir=./hack/api-docs/template -out-file=./docs/api/source.md
126126

127127
tidy: ## Run go mod tidy
128-
cd api; rm -f go.sum; go mod tidy -compat=1.17
129-
rm -f go.sum; go mod tidy -compat=1.17
128+
cd api; rm -f go.sum; go mod tidy -compat=1.18
129+
rm -f go.sum; go mod tidy -compat=1.18
130130

131131
fmt: ## Run go fmt against code
132132
go fmt ./...

api/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/fluxcd/source-controller/api
22

3-
go 1.17
3+
go 1.18
44

55
require (
66
github.com/fluxcd/pkg/apis/acl v0.0.3

go.mod

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

3-
go 1.17
3+
go 1.18
44

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

tests/fuzz/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/fluxcd/source-controller/tests/fuzz
22

3-
go 1.17
3+
go 1.18
44

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

0 commit comments

Comments
 (0)