Skip to content

Enhance CI and project structure with updates and automation #2

Enhance CI and project structure with updates and automation

Enhance CI and project structure with updates and automation #2

Triggered via pull request June 7, 2026 11:07
Status Failure
Total duration 1m 10s
Artifacts

ci.yml

on: pull_request
Go tests and checks
1m 6s
Go tests and checks
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Go tests and checks
Process completed with exit code 1.
Go tests and checks
import "github.com/fosrl/badger/ips" error: unable to find source related to: "github.com/fosrl/badger/ips"
Go tests and checks: badger.go#L17
var-naming: struct field APIBaseUrl should be APIBaseURL (revive)
Go tests and checks: badger_test.go#L173
net/http/httptest.NewRequest must not be called. use net/http/httptest.NewRequestWithContext (noctx)
Go tests and checks: badger_test.go#L136
net/http/httptest.NewRequest must not be called. use net/http/httptest.NewRequestWithContext (noctx)
Go tests and checks: badger_test.go#L110
net/http/httptest.NewRequest must not be called. use net/http/httptest.NewRequestWithContext (noctx)
Go tests and checks: badger_test.go#L91
net/http/httptest.NewRequest must not be called. use net/http/httptest.NewRequestWithContext (noctx)
Go tests and checks: badger.go#L254
G107: Potential HTTP request made with variable url (gosec)
Go tests and checks: badger.go#L207
G710: Open redirect via taint analysis (gosec)
Go tests and checks: badger.go#L176
G107: Potential HTTP request made with variable url (gosec)
Go tests and checks: badger.go#L149
cyclomatic complexity 35 of func `(*Badger).ServeHTTP` is high (> 20) (gocyclo)
Go tests and checks: badger.go#L296
Error return value of `rw.Write` is not checked (errcheck)