From 6e35c0a7877683fd8ef1f5033ddc74bdda30f079 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Mon, 12 Jan 2026 18:15:38 -0600 Subject: [PATCH] chore: fix workflow file --- .github/workflows/pull_request.yml | 2 +- ping_test.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 37019f0..4042fba 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -31,7 +31,7 @@ jobs: version: latest - name: Run tests run: go test -v ./... -coverprofile=coverage.out - - name Generate coverage report + - name: Generate coverage report run: go tool cover -html=coverage.out -o coverage.html - name: Upload test coverage uses: actions/upload-artifact@v6 diff --git a/ping_test.go b/ping_test.go index a3e1214..62ef142 100644 --- a/ping_test.go +++ b/ping_test.go @@ -46,7 +46,6 @@ func TestGet(t *testing.T) { onspring.WithHTTPClient(&http.Client{Transport: &ErrorTransport{}}), ) - context.TODO() err := client.Ping.Get(t.Context()) if err == nil {