Skip to content

fix(security): handle remaining gosec G104 unhandled errors #9

fix(security): handle remaining gosec G104 unhandled errors

fix(security): handle remaining gosec G104 unhandled errors #9

Triggered via push February 24, 2026 14:45
Status Failure
Total duration 57s
Artifacts

ci.yml

on: push
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
Lint: interceptor_test.go#L314
Error return value of `truseraClient.Close` is not checked (errcheck)
Lint: interceptor_test.go#L285
Error return value of `truseraClient.Close` is not checked (errcheck)
Lint: interceptor_test.go#L262
Error return value of `truseraClient.Close` is not checked (errcheck)
Lint: interceptor_test.go#L196
Error return value of `truseraClient.Close` is not checked (errcheck)
Lint: interceptor_test.go#L160
Error return value of `truseraClient.Close` is not checked (errcheck)
Lint: interceptor_test.go#L125
Error return value of `truseraClient.Close` is not checked (errcheck)
Lint: interceptor_test.go#L88
Error return value of `truseraClient.Close` is not checked (errcheck)
Lint: interceptor_test.go#L53
Error return value of `truseraClient.Close` is not checked (errcheck)
Lint: interceptor_test.go#L20
Error return value of `truseraClient.Close` is not checked (errcheck)
Lint: events.go#L34
Error return value of `rand.Read` is not checked (errcheck)
Build
Restore cache failed: Dependencies file is not found in /home/runner/work/trusera-sdk-go/trusera-sdk-go. Supported file pattern: go.sum
Lint
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0w7mdaQAAAAAglsWmZvicR63mK+z1rdlQRE0yRURHRTEwMTQARWRnZQ==
Lint
Failed to restore: Cache service responded with 400
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/trusera-sdk-go/trusera-sdk-go. Supported file pattern: go.sum
Test (1.21)
Restore cache failed: Dependencies file is not found in /home/runner/work/trusera-sdk-go/trusera-sdk-go. Supported file pattern: go.sum
Test (1.22)
Restore cache failed: Dependencies file is not found in /home/runner/work/trusera-sdk-go/trusera-sdk-go. Supported file pattern: go.sum
Test (1.23)
Restore cache failed: Dependencies file is not found in /home/runner/work/trusera-sdk-go/trusera-sdk-go. Supported file pattern: go.sum