Skip to content

chore: Migrate to golangci-lint v2 config #497

chore: Migrate to golangci-lint v2 config

chore: Migrate to golangci-lint v2 config #497

Triggered via push April 22, 2025 08:48
Status Failure
Total duration 1m 22s
Artifacts

test.yml

on: push
run tests and linters  /  unit-tests
13s
run tests and linters / unit-tests
run tests and linters  /  e2e-tests
1m 17s
run tests and linters / e2e-tests
run tests and linters  /  lint
46s
run tests and linters / lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
run tests and linters / lint: internal/cel/library/sigstore.go#L658
sigstoreKeylessVerifierType is a global variable (gochecknoglobals)
run tests and linters / lint: internal/cel/library/sigstore.go#L635
sigstorePubKeysVerifierType is a global variable (gochecknoglobals)
run tests and linters / lint: internal/cel/library/sigstore.go#L626
sigstoreVerifierBuilderType is a global variable (gochecknoglobals)
run tests and linters / lint: internal/cel/library/oci.go#L155
ociClientType is a global variable (gochecknoglobals)
run tests and linters / lint: internal/cel/library/library.go#L8
host is a global variable (gochecknoglobals)
run tests and linters / lint: internal/cel/library/kubernetes.go#L268
k8sClientType is a global variable (gochecknoglobals)
run tests and linters / lint: internal/cel/library/kubernetes.go#L259
k8sClientBuilderType is a global variable (gochecknoglobals)
run tests and linters / lint: internal/cel/library/crypto.go#L214
cryptoResponseType is a global variable (gochecknoglobals)
run tests and linters / lint: internal/cel/library/crypto.go#L205
cryptoVerifierType is a global variable (gochecknoglobals)
run tests and linters / lint: internal/validate/validate.go#L8
import 'log' is not allowed from list 'non-main files': Use log/slog instead, see https://go.dev/blog/slog (depguard)
run tests and linters / lint
Restore cache failed: Dependencies file is not found in /home/runner/work/cel-policy/cel-policy. Supported file pattern: go.sum