Skip to content

Adding caching/mirroring #27

Adding caching/mirroring

Adding caching/mirroring #27

Triggered via pull request July 24, 2024 08:18
@ghostghost
synchronize #5
caching
Status Failure
Total duration 3m 45s
Artifacts

verify.yml

on: pull_request
Matrix: Tests
Fit to window
Zoom out
Zoom in

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)