golangci-lint in CI as well as a makefile target

This commit is contained in:
Imbus 2024-03-02 04:18:29 +01:00
parent 54cca2b151
commit c54eccc625
2 changed files with 58 additions and 0 deletions

View file

@ -62,6 +62,10 @@ backup:
# Format
fmt:
$(GOCMD) fmt ./...
# Lint
lint:
golangci-lint run ./...
# Default target
default: build