Skip to content

ci: Adding gosec in golangci lint #88

ci: Adding gosec in golangci lint

ci: Adding gosec in golangci lint #88

Triggered via pull request July 8, 2024 12:01
Status Failure
Total duration 1m 17s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 1 warning
govulncheck
Cannot open: File exists
govulncheck
Cannot open: File exists
govulncheck
Cannot open: File exists
govulncheck
Cannot open: File exists
govulncheck
Cannot open: File exists
govulncheck
Cannot open: File exists
govulncheck
Cannot open: File exists
govulncheck
Cannot open: File exists
govulncheck
Cannot open: File exists
govulncheck
Cannot open: File exists
misspell: vendor/sigs.k8s.io/structured-merge-diff/v4/schema/elements.go#L35
[misspell] reported by reviewdog 🐶 "overriden" is a misspelling of "overridden" Raw Output: ./vendor/sigs.k8s.io/structured-merge-diff/v4/schema/elements.go:35:55: "overriden" is a misspelling of "overridden"
misspell: vendor/sigs.k8s.io/structured-merge-diff/v4/typed/compare.go#L350
[misspell] reported by reviewdog 🐶 "occurences" is a misspelling of "occurrences" Raw Output: ./vendor/sigs.k8s.io/structured-merge-diff/v4/typed/compare.go:350:21: "occurences" is a misspelling of "occurrences"
misspell: vendor/sigs.k8s.io/structured-merge-diff/v4/fieldpath/element.go#L282
[misspell] reported by reviewdog 🐶 "retuns" is a misspelling of "returns" Raw Output: ./vendor/sigs.k8s.io/structured-merge-diff/v4/fieldpath/element.go:282:8: "retuns" is a misspelling of "returns"
misspell: vendor/sigs.k8s.io/controller-runtime/.golangci.yml#L25
[misspell] reported by reviewdog 🐶 "importas" is a misspelling of "imports" Raw Output: ./vendor/sigs.k8s.io/controller-runtime/.golangci.yml:25:6: "importas" is a misspelling of "imports"
misspell: vendor/sigs.k8s.io/controller-runtime/.golangci.yml#L44
[misspell] reported by reviewdog 🐶 "importas" is a misspelling of "imports" Raw Output: ./vendor/sigs.k8s.io/controller-runtime/.golangci.yml:44:2: "importas" is a misspelling of "imports"
misspell: vendor/sigs.k8s.io/yaml/goyaml.v2/yaml.go#L469
[misspell] reported by reviewdog 🐶 "faciliate" is a misspelling of "facilitate" Raw Output: ./vendor/sigs.k8s.io/yaml/goyaml.v2/yaml.go:469:64: "faciliate" is a misspelling of "facilitate"
misspell: vendor/sigs.k8s.io/json/internal/golang/encoding/json/decode.go#L369
[misspell] reported by reviewdog 🐶 "alse" is a misspelling of "else" Raw Output: ./vendor/sigs.k8s.io/json/internal/golang/encoding/json/decode.go:369:12: "alse" is a misspelling of "else"
misspell: vendor/k8s.io/apimachinery/pkg/runtime/serializer/json/json.go#L38
[misspell] reported by reviewdog 🐶 "creater" is a misspelling of "creature" Raw Output: ./vendor/k8s.io/apimachinery/pkg/runtime/serializer/json/json.go:38:37: "creater" is a misspelling of "creature"
misspell: vendor/k8s.io/apimachinery/pkg/runtime/serializer/json/json.go#L39
[misspell] reported by reviewdog 🐶 "creater" is a misspelling of "creature" Raw Output: ./vendor/k8s.io/apimachinery/pkg/runtime/serializer/json/json.go:39:39: "creater" is a misspelling of "creature"
misspell
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
golangci-lint: test/e2e/e2e_test.go#L107
G204: Subprocess launched with variable (gosec)
golangci-lint
issues found
govulncheck
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2