From 40d6cce2b29f611f40ae832368ba4a0aa78c58ae Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Thu, 17 Mar 2022 08:05:06 +0800 Subject: [PATCH] sanity check version Signed-off-by: Adrian Cole --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 4f651af..3784bbf 100644 --- a/Makefile +++ b/Makefile @@ -131,6 +131,8 @@ format: # lint is a PHONY target, so always runs. This allows skipping when sources didn't change. build/lint: .golangci.yml $(all_sources) + which go + $(go) version @$(go) run $(golangci_lint) run --timeout 5m --config $< ./... @mkdir -p $(@D) && touch $@