feat: Add vet, race and fuzz testing to CI

Adds `go vet`, race detection, and fuzz testing to the GitHub Actions workflow. This will improve the quality and robustness of the codebase.
This commit is contained in:
google-labs-jules[bot] 2025-11-03 19:17:46 +00:00
parent 6faf6d9822
commit 6d9ae98916

View file

@ -23,8 +23,14 @@ jobs:
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -coverprofile=coverage.out ./...
- name: Vet
run: go vet ./...
- name: Test (race + coverage)
run: go test -race -coverprofile=coverage.out -covermode=atomic ./...
- name: Fuzz (10s)
run: go test -run=NONE -fuzz=Fuzz -fuzztime=10s ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5