File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 15
15
- name : Install Go
16
16
uses : actions/setup-go@v2
17
17
with :
18
- go-version : 1.15
18
+ go-version : 1.16
19
19
- name : Checkout code
20
20
uses : actions/checkout@v2
21
21
- name : Check go mod
41
41
- name : Install Go
42
42
uses : actions/setup-go@v2
43
43
with :
44
- go-version : 1.15 # test only the latest go version to speed up CI
44
+ go-version : 1.16 # test only the latest go version to speed up CI
45
45
- name : Run tests
46
46
run : make.exe test
47
47
continue-on-error : true
53
53
- name : Install Go
54
54
uses : actions/setup-go@v2
55
55
with :
56
- go-version : 1.15 # test only the latest go version to speed up CI
56
+ go-version : 1.16 # test only the latest go version to speed up CI
57
57
- name : Run tests
58
58
run : make test
59
59
tests-on-unix :
62
62
strategy :
63
63
matrix :
64
64
golang :
65
- - 1.13
66
65
- 1.14
67
66
- 1.15
67
+ - 1.16
68
68
steps :
69
69
- uses : actions/checkout@v2
70
70
- name : Install Go
92
92
- name : Install Go
93
93
uses : actions/setup-go@v2
94
94
with :
95
- go-version : 1.15
95
+ go-version : 1.16
96
96
- name : Check generated files are up to date
97
97
run : make fast_check_generated
Original file line number Diff line number Diff line change 14
14
- name : Install Go
15
15
uses : actions/setup-go@v2
16
16
with :
17
- go-version : 1.15
17
+ go-version : 1.16
18
18
- name : Unshallow
19
19
run : git fetch --prune --unshallow
20
20
40
40
- name : Install Go
41
41
uses : actions/setup-go@v2
42
42
with :
43
- go-version : 1.15
43
+ go-version : 1.16
44
44
45
45
- name : Unshallow
46
46
run : git fetch --prune --unshallow
Original file line number Diff line number Diff line change 1
1
# stage 1 building the code
2
- FROM golang:1.15 as builder
2
+ FROM golang:1.16 as builder
3
3
4
4
ARG VERSION
5
5
ARG SHORT_COMMIT
@@ -10,7 +10,7 @@ WORKDIR /golangci
10
10
RUN CGO_ENABLED=0 go build -trimpath -ldflags "-s -w -X main.version=$VERSION -X main.commit=$SHORT_COMMIT -X main.date=$DATE" -o golangci-lint ./cmd/golangci-lint/main.go
11
11
12
12
# stage 2
13
- FROM golang:1.15
13
+ FROM golang:1.16
14
14
# don't place it into $GOPATH/bin because Drone mounts $GOPATH as volume
15
15
COPY --from=builder /golangci/golangci-lint /usr/bin/
16
16
CMD ["golangci-lint" ]
Original file line number Diff line number Diff line change 1
1
# stage 1 building the code
2
- FROM golang:1.15 -alpine as builder
2
+ FROM golang:1.16 -alpine as builder
3
3
4
4
ARG VERSION
5
5
ARG SHORT_COMMIT
@@ -15,7 +15,7 @@ RUN apk --no-cache add gcc musl-dev git mercurial
15
15
RUN CGO_ENABLED=0 go build -trimpath -ldflags "-s -w -X main.version=$VERSION -X main.commit=$SHORT_COMMIT -X main.date=$DATE" -o golangci-lint ./cmd/golangci-lint/main.go
16
16
17
17
# stage 2
18
- FROM golang:1.15 -alpine
18
+ FROM golang:1.16 -alpine
19
19
# gcc is required to support cgo;
20
20
# git and mercurial are needed most times for go get`, etc.
21
21
# See https://github.com/docker-library/golang/issues/80
You can’t perform that action at this time.
0 commit comments