Use Go race detector
This commit is contained in:
4
Makefile
4
Makefile
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user