Enable the golangci-lint in the CI
This commit is contained in:
parent
f8d8256d29
commit
146e68670a
3
Makefile
3
Makefile
|
@ -2,6 +2,9 @@ ROOT_DIR=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
|
|||
|
||||
include $(ROOT_DIR)/bootstrap/Makefile
|
||||
|
||||
.PHONY: lint
|
||||
lint: lint-bootstrap
|
||||
|
||||
.PHONY: compile
|
||||
compile: compile-bootstrap
|
||||
|
||||
|
|
|
@ -6,3 +6,6 @@ compile-bootstrap:
|
|||
|
||||
clean-bootstrap:
|
||||
docker rmi serene-lang/serene-bootstrap:$(BOOTSTRAP_TAG)
|
||||
|
||||
lint-bootstrap:
|
||||
docker run --rm -v $(BOOTSTRAP_DIR):/app -w /app golangci/golangci-lint:v1.35.2 golangci-lint run pkg/core
|
||||
|
|
Loading…
Reference in New Issue