chore: fix typo
Actually share golangci-lint cache. Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
This commit is contained in:
parent
672c970739
commit
9f7d67ac71
@ -489,7 +489,7 @@ COPY --from=integration-test-provision-linux-build /src/integration.test /integr
|
|||||||
FROM base AS lint-go
|
FROM base AS lint-go
|
||||||
COPY .golangci.yml .
|
COPY .golangci.yml .
|
||||||
ENV GOGC 50
|
ENV GOGC 50
|
||||||
ENV GOLANCGCI_LINT_CACHE /.cache/lint
|
ENV GOLANGCI_LINT_CACHE /.cache/lint
|
||||||
RUN --mount=type=cache,target=/.cache golangci-lint run --config .golangci.yml
|
RUN --mount=type=cache,target=/.cache golangci-lint run --config .golangci.yml
|
||||||
WORKDIR /src/pkg/machinery
|
WORKDIR /src/pkg/machinery
|
||||||
RUN --mount=type=cache,target=/.cache golangci-lint run --config ../../.golangci.yml
|
RUN --mount=type=cache,target=/.cache golangci-lint run --config ../../.golangci.yml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user