Use Go race detector

This commit is contained in:
2025-02-26 10:36:51 +02:00
parent f6ac5003b0
commit e8e26ec76a

View File

@@ -16,7 +16,7 @@ debug:
# Test # Test
test: test:
go test ./... go test -race ./...
tidy: tidy:
go mod tidy go mod tidy
@@ -35,7 +35,7 @@ lintfix: fmt
golangci-lint run --fix golangci-lint run --fix
build: build:
go build -o gemini-grc ./main.go go build -race -o gemini-grc ./main.go
show-updates: show-updates:
go list -m -u all go list -m -u all