Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Commit c4e54ef

Browse files
committed
goenvbuild: support golangci-lint 1.15.0
1 parent b37847c commit c4e54ef

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

deployments/build_runner/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ENV GODEP_VERSION=v80
2121
RUN wget https://github.com/tools/godep/releases/download/${GODEP_VERSION}/godep_linux_amd64 -O $GOBINPATH/godep && \
2222
chmod a+x $GOBINPATH/godep
2323

24-
RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.14.0
24+
RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.15.0
2525

2626
WORKDIR ${GOPATH}/src/github.com/golangci/golangci-api
2727
RUN git clone https://github.com/golangci/golangci-api.git . && \

pkg/goenvbuild/preparer.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ var availableGolangciLintVersions = map[int]map[int][]int{
3232
12: {-1, 1, 2, 3, 4, 5},
3333
13: {-1, 1, 2},
3434
14: {0},
35+
15: {0},
3536
},
3637
}
3738

38-
const defaultGolangciLintVersion = "1.14.x"
39+
const defaultGolangciLintVersion = "1.15.x"
3940

4041
type Preparer struct {
4142
cfg config.Config

0 commit comments

Comments
 (0)