Skip to content

Commit f27e3bd

Browse files
committed
tests: Pass -race to go test to detect data races
1 parent 0a0506a commit f27e3bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ jobs:
3838
run: make check-gofmt
3939

4040
- name: Run tests
41-
run: go test -v ./internal/...
41+
run: go test -race -v ./internal/...

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ check-gofmt:
5656
fi
5757

5858
test:
59-
go test ./internal/...
59+
go test -race ./internal/...

0 commit comments

Comments
 (0)