aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-15 08:41:08 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-15 08:41:08 -0800
commitea5d89b47a5424fc81e99934183c0ad7a0cf2426 (patch)
treef18664d9ef5a7b606896034027e6d3331fdad92b /Makefile
parentd4f19ac62f203314fb3e2d4b3afea3d87bbbfe63 (diff)
downloadneko-ea5d89b47a5424fc81e99934183c0ad7a0cf2426.tar.gz
neko-ea5d89b47a5424fc81e99934183c0ad7a0cf2426.tar.bz2
neko-ea5d89b47a5424fc81e99934183c0ad7a0cf2426.zip
Create 'make check' unified workflow and fix various lint issues
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fe066b3..7709cd6 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ VERSION=0.3
BUILD=`git rev-parse HEAD`
LDFLAGS=-ldflags "-X main.Version=${VERSION} -X main.Build=${BUILD}"
-.PHONY: default all clean ui build install test test-race test-frontend test-e2e ui-check lint ci run dev docs
+.PHONY: default all clean ui build install test test-race test-frontend test-e2e ui-check lint check ci run dev docs
default: build
@@ -49,9 +49,11 @@ ui-check: ui
git diff --exit-code web/dist/v2/
lint:
- ${GO} vet ./...
+ golangci-lint run
cd frontend && ${NPM} run lint
+check: lint test
+
ci: lint test-race test-frontend ui-check test-e2e
run: build