From e8e26ec76a91f57d694fd637e47d019dfb24c7ef Mon Sep 17 00:00:00 2001 From: antanst Date: Wed, 26 Feb 2025 10:36:51 +0200 Subject: [PATCH] Use Go race detector --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0eb837c..4ef42b5 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ debug: # Test test: - go test ./... + go test -race ./... tidy: go mod tidy @@ -35,7 +35,7 @@ lintfix: fmt golangci-lint run --fix build: - go build -o gemini-grc ./main.go + go build -race -o gemini-grc ./main.go show-updates: go list -m -u all