Skip to content

Commit e8c1252

Browse files
committed
feat: add GitHub Actions CI workflow for build, vet, and test
1 parent ed5a48d commit e8c1252

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ jobs:
2929
run: go vet ./...
3030

3131
- name: Test
32-
run: CGO_ENABLED=0 go test -race -timeout 120s ./...
32+
run: CGO_ENABLED=1 go test -race -timeout 120s ./...

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ vet:
77
go vet ./...
88

99
test:
10-
CGO_ENABLED=0 go test -race -timeout 120s ./...
10+
CGO_ENABLED=1 go test -race -timeout 120s ./...
1111

1212
## check runs the same steps as CI: build → vet → test
1313
check: build vet test

0 commit comments

Comments
 (0)