1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 04:40:56 +00:00

Use release branch for goimports

This commit is contained in:
Dan Ramich
2019-06-12 11:20:02 -07:00
committed by Craig Jellick
parent df0c8d4f74
commit a86bbbf9a3

View File

@@ -5,8 +5,9 @@ RUN go get -d golang.org/x/lint/golint && \
git -C /go/src/golang.org/x/lint/golint checkout -b current 06c8688daad7faa9da5a0c2f163a3d14aac986ca && \
go install golang.org/x/lint/golint && \
rm -rf /go/src /go/pkg
# This install needs to be kept up to date with rancher/rancher
RUN go get -d golang.org/x/tools/cmd/goimports && \
git -C /go/src/golang.org/x/tools/cmd/goimports checkout -b current 26e35f15edef9a960ed13c88b445c5674371da18 && \
git -C /go/src/golang.org/x/tools/cmd/goimports checkout -b release-branch.go1.12 origin/release-branch.go1.12 && \
go install golang.org/x/tools/cmd/goimports && \
rm -rf /go/src /go/pkg