Skip to content

Commit

Permalink
use 'env' option to disable cgo
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirianni committed Dec 18, 2023
1 parent 3961819 commit 5d76cab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ jobs:
# Run windows tests without cgo, race flag (requires cgo), or coverage
- name: Run Windows Tests
if: matrix.os == 'windows-2019'
run: CGO_ENABLED=0 go test ./...
run: go test ./...
env:
CGO_ENABLED: 0

- name: Upload Codecov
# Only submit code coverage if OS is Linux
Expand Down

0 comments on commit 5d76cab

Please sign in to comment.