Skip to content

Commit d3bcc6a

Browse files
committed
Update Go to 1.16
This commit updates Go to 1.16, a required change because of the use of `os.WriteFile` in one of the tests introduced by commit b5004a9. Normally _just_ this would not justify the change, but given the introduction of breaking changes (and thereby forcing a MINOR update anyway), and the various file{system, path} improvements introduced in Go 1.16 like [`filepath#WalkDir`](https://golang.org/pkg/path/filepath/#WalkDir), going ahead with this should be fine. Signed-off-by: Hidde Beydals <[email protected]>
1 parent b5004a9 commit d3bcc6a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/actions/run-tests/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.15-alpine
1+
FROM golang:1.16-alpine
22

33
# Add any build or testing essential system packages
44
RUN apk add --no-cache build-base git pkgconf

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Docker buildkit multi-arch build requires golang alpine
2-
FROM golang:1.15-alpine as builder
2+
FROM golang:1.16-alpine as builder
33

44
RUN apk add gcc pkgconfig libc-dev
55
RUN apk add --no-cache musl~=1.2 libgit2-dev~=1.1

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.15
3+
go 1.16
44

55
require (
66
github.com/fluxcd/pkg/apis/meta v0.8.0

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.15
3+
go 1.16
44

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

0 commit comments

Comments
 (0)