Skip to content

lint and makefile

lint and makefile #213

Triggered via push February 8, 2024 19:48
Status Failure
Total duration 4m 51s
Artifacts 3

workflow.yaml

on: push
Lint
3m 15s
Lint
Unit test
2m 40s
Unit test
Check codegen and manifest
2m 32s
Check codegen and manifest
Test Gator
2m 21s
Test Gator
[Generator Resource Expansion] Build and Test
4m 40s
[Generator Resource Expansion] Build and Test
Matrix: Build and Test
Matrix: [Helm] Build and Test
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 12 warnings
Build and Test (1.25.8)
Process completed with exit code 2.
Build and Test (1.25.8)
Process completed with exit code 1.
Build and Test (1.28.0)
The operation was canceled.
Build and Test (1.28.0)
Process completed with exit code 1.
Build and Test (1.26.3)
The operation was canceled.
Build and Test (1.27.1)
The operation was canceled.
Lint: pkg/controller/constrainttemplate/constrainttemplate_controller.go#L569
G601: Implicit memory aliasing in for loop. (gosec)
Lint: pkg/controller/constraint/constants.go#L8
`explictly` is a misspelling of `explicitly` (misspell)
Lint: pkg/controller/constraint/constants.go#L10
`explictly` is a misspelling of `explicitly` (misspell)
Lint: pkg/controller/constrainttemplate/constrainttemplate_controller_test.go#L846
func `newDenyAllCstrWithLabel` is unused (unused)
Lint
issues found
[Helm] Build and Test (3.7.2, gatekeeper-system)
Process completed with exit code 1.
[Helm] Build and Test (3.7.2, gatekeeper-system)
Process completed with exit code 2.
[Helm] Build and Test (3.7.2, custom-namespace)
Process completed with exit code 2.
[Helm] Build and Test (3.7.2, custom-namespace)
Process completed with exit code 1.
[Generator Resource Expansion] Build and Test
Process completed with exit code 2.
[Generator Resource Expansion] Build and Test
Process completed with exit code 1.
Test Gator
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check codegen and manifest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build and Test (1.25.8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895, actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895, codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build and Test (1.28.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895, actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build and Test (1.26.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895, actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build and Test (1.27.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895, actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895, golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint: pkg/controller/constrainttemplate/constrainttemplate_controller_test.go#L272
if-return: redundant if ...; err != nil check, just return error instead. (revive)
[Helm] Build and Test (3.7.2, gatekeeper-system)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895, actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
[Helm] Build and Test (3.7.2, custom-namespace)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895, actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
[Generator Resource Expansion] Build and Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895, actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
generatorexpansion-logs Expired
0 Bytes
helm-logs Expired
0 Bytes
logs Expired
0 Bytes