Skip to content

Commit c45fbe8

Browse files
authored
ci: use -race flag in go test (#27)
1 parent fae8049 commit c45fbe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/checkout@v4
2525

2626
- name: Run coverage
27-
run: go test . -coverprofile=coverage.out -covermode=atomic
27+
run: go test -race ./... -coverprofile=coverage.out -covermode=atomic
2828

2929
- name: Upload coverage to Codecov
3030
if: ${{ matrix.go-version == '1.20.x' }}

0 commit comments

Comments
 (0)