File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1717
1818ARG GO_VERSION=1.21.0
1919ARG XX_VERSION=1.2.1
20- ARG GOLANGCI_LINT_VERSION=v1.53 .2
20+ ARG GOLANGCI_LINT_VERSION=v1.54 .2
2121ARG ADDLICENSE_VERSION=v1.0.0
2222
2323ARG BUILD_TAGS="e2e"
@@ -89,10 +89,13 @@ RUN --mount=type=bind,target=. \
8989
9090FROM build-base AS lint
9191ARG BUILD_TAGS
92+ ENV GOLANGCI_LINT_CACHE=/cache/golangci-lint
9293RUN --mount=type=bind,target=. \
9394 --mount=type=cache,target=/root/.cache \
9495 --mount=type=cache,target=/go/pkg/mod \
96+ --mount=type=cache,target=/cache/golangci-lint \
9597 --mount=from=golangci-lint,source=/usr/bin/golangci-lint,target=/usr/bin/golangci-lint \
98+ golangci-lint cache status && \
9699 golangci-lint run --build-tags "$BUILD_TAGS" ./...
97100
98101FROM build-base AS test
You can’t perform that action at this time.
0 commit comments