Merge pull request #383 from elezar/fix-golangci-lint-in-shell

Add GOLANGCI_LINT_CACHE to docker make targets
This commit is contained in:
Evan Lezar 2024-03-15 08:51:29 +02:00 committed by GitHub
commit 2733661125
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -110,6 +110,7 @@ $(DOCKER_TARGETS): docker-%:
--rm \
-e GOCACHE=/tmp/.cache/go \
-e GOMODCACHE=/tmp/.cache/gomod \
-e GOLANGCI_LINT_CACHE=/tmp/.cache/golangci-lint \
-v $(PWD):/work \
-w /work \
--user $$(id -u):$$(id -g) \
@ -124,6 +125,7 @@ PHONY: .shell
-ti \
-e GOCACHE=/tmp/.cache/go \
-e GOMODCACHE=/tmp/.cache/gomod \
-e GOLANGCI_LINT_CACHE=/tmp/.cache/golangci-lint \
-v $(PWD):/work \
-w /work \
--user $$(id -u):$$(id -g) \