Skip to content

use go-makefile-maker #1

use go-makefile-maker

use go-makefile-maker #1

Triggered via push January 13, 2025 14:09
Status Failure
Total duration 52s
Artifacts

checks.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Checks: s3_exporter.go#L223
Error return value of `w.Write` is not checked (errcheck)
Checks: s3_exporter.go#L276
Error return value of `w.Write` is not checked (errcheck)
Checks: s3_exporter.go#L288
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
Checks: s3_exporter.go#L268
use of `http.Handle` forbidden by pattern `^http\.Handle(?:Func)?$` (forbidigo)
Checks: s3_exporter.go#L269
use of `http.HandleFunc` forbidden by pattern `^http\.Handle(?:Func)?$` (forbidigo)
Checks: s3_exporter.go#L272
use of `http.HandleFunc` forbidden by pattern `^http\.Handle(?:Func)?$` (forbidigo)
Checks: s3_exporter.go#L275
use of `http.HandleFunc` forbidden by pattern `^http\.Handle(?:Func)?$` (forbidigo)
Checks: s3_exporter.go#L117
assignOp: replace `commonPrefixes = commonPrefixes + len(resp.CommonPrefixes)` with `commonPrefixes += len(resp.CommonPrefixes)` (gocritic)
Checks: s3_exporter.go#L120
assignOp: replace `totalSize = totalSize + *item.Size` with `totalSize += *item.Size` (gocritic)
Checks: s3_exporter_test.go#L205
emptyStringTest: replace `len(delimiter) > 0` with `delimiter != ""` (gocritic)
Checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636