chore: fix workflow file

This commit is contained in:
Stevan Freeborn
2026-01-12 18:15:38 -06:00
parent 311acd4d26
commit 6e35c0a787
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ jobs:
version: latest version: latest
- name: Run tests - name: Run tests
run: go test -v ./... -coverprofile=coverage.out 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 run: go tool cover -html=coverage.out -o coverage.html
- name: Upload test coverage - name: Upload test coverage
uses: actions/upload-artifact@v6 uses: actions/upload-artifact@v6
-1
View File
@@ -46,7 +46,6 @@ func TestGet(t *testing.T) {
onspring.WithHTTPClient(&http.Client{Transport: &ErrorTransport{}}), onspring.WithHTTPClient(&http.Client{Transport: &ErrorTransport{}}),
) )
context.TODO()
err := client.Ping.Get(t.Context()) err := client.Ping.Get(t.Context())
if err == nil { if err == nil {