Skip to content

use better raw file handling and return resources #1231

use better raw file handling and return resources

use better raw file handling and return resources #1231

Triggered via push June 12, 2025 00:49
Status Failure
Total duration 42s
Artifacts

lint.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors
lint
issues found
lint: pkg/raw/raw.go#L50
ST1003: method UrlFromOpts should be URLFromOpts (staticcheck)
lint: pkg/github/repository_resource.go#L142
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: pkg/raw/raw_test.go#L96
Error return value of `resp.Body.Close` is not checked (errcheck)
lint: pkg/github/repository_resource.go#L146
Error return value of `resp.Body.Close` is not checked (errcheck)
lint: pkg/github/repositories.go#L471
Error return value of `resp.Body.Close` is not checked (errcheck)