Skip to content

ci: Fix golangci

ci: Fix golangci #760

Triggered via pull request April 30, 2024 01:03
@jalsethjalseth
synchronize #500
fix-golangci
Status Failure
Total duration 3m 53s
Artifacts 3

pull_request.yaml

on: pull_request
Matrix: Acceptance
Policy Checks
6s
Policy Checks
Policy Tests
26s
Policy Tests
Docker Tests
0s
Docker Tests
Prep for End-to-end Tests
0s
Prep for End-to-end Tests
Matrix: End-to-end Tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 6 warnings
Lint: internal/commands/create.go#L188
string `Parameters` has 3 occurrences, make it a constant (goconst)
Lint
issues found
Acceptance (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/konstraint/konstraint. Supported file pattern: go.sum
Acceptance (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/konstraint/konstraint. Supported file pattern: go.sum
Lint: internal/rego/rego.go#L660
unused-parameter: parameter 'abspath' seems to be unused, consider removing or renaming it as _ (revive)
Lint: internal/commands/convert.go#L23
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/konstraint/konstraint. Supported file pattern: go.sum
Acceptance (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\konstraint\konstraint. Supported file pattern: go.sum

Artifacts

Produced during runtime
Name Size
konstraint-macos-latest
24.1 MB
konstraint-ubuntu-latest
25.6 MB
konstraint-windows-latest
25.8 MB