Skip to content

Commit bededb6

Browse files
Parship12Warashi
andauthored
fix: make lint/go for non-interactive environments (#6448)
* fix make lint/go for non-interactive environments and simplify CI Signed-off-by: Parship Chowdhury <parshipchowdhury@gmail.com> * remove lint.yaml changes Signed-off-by: Parship Chowdhury <parshipchowdhury@gmail.com> --------- Signed-off-by: Parship Chowdhury <parshipchowdhury@gmail.com> Co-authored-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
1 parent ce23cf8 commit bededb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ lint: lint/go lint/web lint/helm
213213
.PHONY: lint/go
214214
lint/go: FIX ?= false
215215
lint/go: VERSION ?= sha256:91460846c43b3de53eb77e968b17363e8747e6f3fc190575b52be60c49446e23 # golangci/golangci-lint:v2.4.0
216-
lint/go: FLAGS ?= --rm -e GOCACHE=/repo/.cache/go-build -e GOLANGCI_LINT_CACHE=/repo/.cache/golangci-lint -v ${PWD}:/repo -it
216+
lint/go: FLAGS ?= --rm -e GOCACHE=/repo/.cache/go-build -e GOLANGCI_LINT_CACHE=/repo/.cache/golangci-lint -v ${PWD}:/repo
217217
lint/go: MODULES ?= $(shell find . -name go.mod | while read -r dir; do dirname "$$dir"; done | paste -sd, -) # comma separated list of modules. eg: MODULES=.,pkg/plugin/sdk
218218
lint/go:
219219
@echo "Linting go modules..."

0 commit comments

Comments
 (0)