fix(tests): make test policies compatible with newer ubuntu #4831
Annotations
12 warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run actions/setup-go@v5
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|
Run Revive Action on KubeArmor:
KubeArmor/cert/tls.go#L19
exported type TlsConfig should have comment or be unexported
|
Run Revive Action on KubeArmor:
KubeArmor/cert/tls.go#L15
exported const SelfCertProvider should have comment (or a comment on this block) or be unexported
|
Run Revive Action on KubeArmor:
KubeArmor/cert/certloader.go#L15
exported type CertLoader should have comment or be unexported
|
Run Revive Action on KubeArmor:
KubeArmor/cert/tls.go#L37
exported type TlsCredentialManager should have comment or be unexported
|
Run Revive Action on KubeArmor:
KubeArmor/cert/tls.go#L41
exported function NewTlsCredentialManager should have comment or be unexported
|
Run Revive Action on KubeArmor:
KubeArmor/cert/certloader.go#L15
type name will be used as cert.CertLoader by other packages, and that stutters; consider calling this Loader
|
Run Revive Action on KubeArmor:
KubeArmor/cert/certloader.go#L19
comment on exported type SelfSignedCertLoader should be of the form "SelfSignedCertLoader ..." (with optional leading article)
|
Run Revive Action on KubeArmor:
KubeArmor/cert/tls.go#L74
exported method TlsCredentialManager.CreateTlsClientCredentials should have comment or be unexported
|
Run Revive Action on KubeArmor:
KubeArmor/cert/tls.go#L88
exported method TlsCredentialManager.CreateTlsServerCredentials should have comment or be unexported
|
Run Revive Action on KubeArmor:
KubeArmor/cert/certloader.go#L25
exported method SelfSignedCertLoader.GetCertificateAndCaPool should have comment or be unexported
|
Loading