Enhance CI and project structure with updates and automation #3
ci.yml
on: pull_request
Go CI
54s
Yaegi compatibility
34s
Annotations
9 errors and 2 warnings
|
Go CI
issues found
|
|
Go CI:
badger.go#L70
var-naming: struct field UserId should be UserID (revive)
|
|
Go CI:
badger.go#L40
var-naming: struct field apiBaseUrl should be apiBaseURL (revive)
|
|
Go CI:
badger.go#L17
var-naming: struct field APIBaseUrl should be APIBaseURL (revive)
|
|
Go CI:
badger.go#L254
G107: Potential HTTP request made with variable url (gosec)
|
|
Go CI:
badger.go#L207
G710: Open redirect via taint analysis (gosec)
|
|
Go CI:
badger.go#L176
G107: Potential HTTP request made with variable url (gosec)
|
|
Go CI:
badger.go#L149
cyclomatic complexity 35 of func `(*Badger).ServeHTTP` is high (> 20) (gocyclo)
|
|
Go CI:
badger.go#L296
Error return value of `rw.Write` is not checked (errcheck)
|
|
Yaegi compatibility
Restore cache failed: Dependencies file is not found in /home/runner/work/badger/badger. Supported file pattern: go.mod
|
|
Go CI
Restore cache failed: Dependencies file is not found in /home/runner/work/badger/badger. Supported file pattern: go.mod
|