Run the github actions smoke tests with data race detector enabled, so we can detect if a PR introduces a simple data race.
@@ -26,7 +26,7 @@ jobs:
check-latest: true
- name: build
- run: make bin-docker
+ run: make bin-docker CGO_ENABLED=1 BUILD_ARGS=-race
- name: setup docker image
working-directory: ./.github/workflows/smoke
@@ -210,6 +210,7 @@ smoke-relay-docker: bin-docker
cd .github/workflows/smoke/ && ./smoke-relay.sh
smoke-docker-race: BUILD_ARGS = -race
+smoke-docker-race: CGO_ENABLED = 1
smoke-docker-race: smoke-docker
.FORCE: