···442442lint-spell-fix: lint-codespell-fix
443443 @go run $(MISSPELL_PACKAGE) -w $(SPELLCHECK_FILES)
444444445445+RUN_DEADCODE = $(GO) run $(DEADCODE_PACKAGE) -generated=false -f='{{println .Path}}{{range .Funcs}}{{printf "\t%s\n" .Name}}{{end}}{{println}}' -test code.gitea.io/gitea
446446+445447.PHONY: lint-go
446448lint-go:
447449 $(GO) run $(GOLANGCI_LINT_PACKAGE) run $(GOLANGCI_LINT_ARGS)
448448- $(GO) run $(DEADCODE_PACKAGE) -generated=false -test code.gitea.io/gitea > .cur-deadcode-out
450450+ $(RUN_DEADCODE) > .cur-deadcode-out
449451 @$(DIFF) .deadcode-out .cur-deadcode-out \
450452 || (code=$$?; echo "Please run 'make lint-go-fix' and commit the result"; exit $${code})
451453452454.PHONY: lint-go-fix
453455lint-go-fix:
454456 $(GO) run $(GOLANGCI_LINT_PACKAGE) run $(GOLANGCI_LINT_ARGS) --fix
455455- $(GO) run $(DEADCODE_PACKAGE) -generated=false -test code.gitea.io/gitea > .deadcode-out
457457+ $(RUN_DEADCODE) > .deadcode-out
456458457459# workaround step for the lint-go-windows CI task because 'go run' can not
458460# have distinct GOOS/GOARCH for its build and run steps