Skip to content

feat(core): adds storeFile to save encrypted profiles to disk and updates auth to propagate tlsNoVerify #689

feat(core): adds storeFile to save encrypted profiles to disk and updates auth to propagate tlsNoVerify

feat(core): adds storeFile to save encrypted profiles to disk and updates auth to propagate tlsNoVerify #689

Triggered via pull request November 11, 2024 17:16
Status Failure
Total duration 5m 15s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: pkg/profiles/storeFile.go#L194
appendAssign: append result not assigned to the same slice (gocritic)
lint: pkg/profiles/storeFile.go#L148
unnecessary leading newline (whitespace)
lint: pkg/profiles/storeFile.go#L128
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint: pkg/profiles/storeFile.go#L152
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint: pkg/profiles/storeFile.go#L56
Magic number: 0700, in <argument> detected (mnd)
lint: pkg/profiles/storeFile.go#L127
Magic number: 0600, in <argument> detected (mnd)
lint: pkg/profiles/storeFile.go#L154
Magic number: 32, in <argument> detected (mnd)
lint: pkg/profiles/storeFile.go#L234
Magic number: 0600, in <argument> detected (mnd)
lint
issues found
e2e tests
Process completed with exit code 1.
Run govulncheck
Both go-version and go-version-file inputs are specified, only go-version will be used
e2e tests
Restore cache failed: Dependencies file is not found in /home/runner/work/otdfctl/otdfctl. Supported file pattern: go.sum