From 6d9ae98916aafef960b23e66502418eacabb79f7 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Mon, 3 Nov 2025 19:17:46 +0000 Subject: [PATCH] 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. --- .github/workflows/go.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6de9e86..074dab5 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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