Skip to content

Commit 03163e3

Browse files
uuczclaude
andcommitted
Fix CI: -race flag requires CGo, only disable CGo for build
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8b406c7 commit 03163e3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: CGO_ENABLED=0 go build -o llmview .
3030

3131
- name: Test
32-
run: CGO_ENABLED=0 go test ./... -race -count=1
32+
run: go test ./... -race -count=1
3333

3434
lint:
3535
runs-on: ubuntu-latest
@@ -46,4 +46,4 @@ jobs:
4646
echo '<!doctype html>' > internal/server/ui/index.html
4747
4848
- name: Vet
49-
run: CGO_ENABLED=0 go vet ./...
49+
run: go vet ./...

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dev:
1919

2020
## test: run all tests
2121
test:
22-
CGO_ENABLED=0 go test ./... -v -race
22+
go test ./... -v -race
2323

2424
## clean: remove build artifacts
2525
clean:

0 commit comments

Comments
 (0)