From 4b1ade55e50aa2768deecf101cb8d7c24f3bb6b3 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Wed, 14 Dec 2022 23:15:16 +0700 Subject: all: run test before lint This is to make sure that the test pass, since the linting is optional. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1475a97..7833234 100644 --- a/Makefile +++ b/Makefile @@ -3,10 +3,10 @@ .PHONY: all lint test-parser serve-doc -all: lint test +all: test lint lint: - golangci-lint run ./... + -golangci-lint run ./... -fieldalignment ./... test: -- cgit v1.3