Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@

# go-lint lints Go code.
go-lint:
ARG GOLANGCI_LINT_VERSION=v2.11.4
ARG GOLANGCI_LINT_VERSION=v2.12.2
FROM +go-modules
# This cache is private because golangci-lint doesn't support concurrent runs.
CACHE --id go-lint --sharing private /root/.cache/golangci-lint
Expand All @@ -169,10 +169,10 @@

# golangci-lint-setup is used by other targets to setup golangci-lint.
golangci-lint-setup:
ARG GOLANGCI_LINT_VERSION=v2.11.4
ARG GOLANGCI_LINT_VERSION=v2.12.2
ARG NATIVEPLATFORM
FROM --platform=${NATIVEPLATFORM} curlimages/curl:8.18.0
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b . ${GOLANGCI_LINT_VERSION}

Check failure on line 175 in Earthfile

View workflow job for this annotation

GitHub Actions / lint

Error

The command RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b . ${GOLANGCI_LINT_VERSION} did not complete successfully. Exit code 1
SAVE ARTIFACT golangci-lint

# crossplane-cli-setup is used by other targets to setup the crossplane CLI.
Expand Down
Loading