Adding caching/mirroring #27
verify.yml
on: pull_request
Go generate
18s
Lint
47s
Matrix: Tests
Annotations
10 errors
Lint:
internal/tools/mockmirror-build-fake/main.go#L34
exitAfterDefer: log.Fatal will exit, and `defer func(){...}(...)` will not run (gocritic)
|
Lint:
mirror_create_version.go#L41
badCall: no-op append call, probably missing arguments (gocritic)
|
Lint:
internal/tools/mockmirror-build-fake/main.go#L33
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
Lint:
internal/tools/mockmirror-build-fake/main.go#L36
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
Lint:
internal/tools/mockmirror-build-fake/main.go#L88
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
Lint:
mockmirror/mockmirror.go#L66
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
|
Lint:
mirror_create_version_asset.go#L12
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
mirror_create_version.go#L13
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
mirror_serve_http.go#L64
exporting a pointer for the loop variable ver (exportloopref)
|
Lint:
mirror_serve_http.go#L36
"200" can be replaced by http.StatusOK (usestdlibvars)
|