Skip to content

Commit 877c4c7

Browse files
authored
Merge pull request #624 from fluxcd/build-go-1.20
build: update to Go 1.20
2 parents 78117fc + f1a270a commit 877c4c7

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/cifuzz.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Go
1717
uses: actions/setup-go@v3
1818
with:
19-
go-version: 1.19.x
19+
go-version: 1.20.x
2020
- name: Restore Go cache
2121
uses: actions/cache@v3
2222
with:

.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.19.x
46+
go-version: 1.20.x
4747
- name: Setup Kubernetes
4848
uses: helm/kind-action@v1.5.0
4949
with:

.github/workflows/scan.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Setup Go
3434
uses: actions/setup-gov3
3535
with:
36-
go-version: 1.19.x
36+
go-version: 1.20.x
3737
- name: Download modules
3838
run: |
3939
make tidy
@@ -58,7 +58,7 @@ jobs:
5858
- name: Setup Go
5959
uses: actions/setup-go@v3
6060
with:
61-
go-version: 1.19.x
61+
go-version: 1.20.x
6262
- name: Initialize CodeQL
6363
uses: github/codeql-action/init@v2
6464
with:

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GO_VERSION=1.19
1+
ARG GO_VERSION=1.20
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
@@ -85,8 +85,8 @@ api-docs: gen-crd-api-reference-docs
8585

8686
# Run go mod tidy
8787
tidy:
88-
cd api; rm -f go.sum; go mod tidy -compat=1.19
89-
rm -f go.sum; go mod tidy -compat=1.19
88+
cd api; rm -f go.sum; go mod tidy -compat=1.20
89+
rm -f go.sum; go mod tidy -compat=1.20
9090

9191
# Run go fmt against code
9292
fmt:

0 commit comments

Comments
 (0)