ci: change cache in the golangci-lint module

The way cache is defined in the module has changed, and now mounts a
volume by default.

Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
This commit is contained in:
Francesco Canovai 2025-04-08 14:29:00 +02:00
parent 8540c41b6e
commit f9124ebb49

View File

@ -26,9 +26,6 @@ tasks:
- > - >
GITHUB_REF= dagger -s call -m github.com/sagikazarmark/daggerverse/golangci-lint@${DAGGER_GOLANGCI_LINT_SHA} GITHUB_REF= dagger -s call -m github.com/sagikazarmark/daggerverse/golangci-lint@${DAGGER_GOLANGCI_LINT_SHA}
--version ${GOLANGCI_LINT_VERSION} --version ${GOLANGCI_LINT_VERSION}
with-linter-cache --cache golangci-lint
with-build-cache --cache go-build
with-module-cache --cache go-mod
run --source . --config .golangci.yml stdout run --source . --config .golangci.yml stdout
sources: sources:
- ./**/*.go - ./**/*.go