Skip to content

chore: add ut and docs for sidecar injector #1844

chore: add ut and docs for sidecar injector

chore: add ut and docs for sidecar injector #1844

Triggered via pull request April 10, 2024 15:32
Status Failure
Total duration 4m 3s
Artifacts

layotto-ci.yml

on: pull_request
Go Style Check
49s
Go Style Check
Resolve Go Modules
4s
Resolve Go Modules
Layotto Injector Helm Chart
0s
Layotto Injector Helm Chart
Matrix: Go CI Linter
Coverage Analysis
0s
Coverage Analysis
Integrate with WASM
0s
Integrate with WASM
Integrate with Runtime
0s
Integrate with Runtime
Linux AMD64 WASM Artifact
0s
Linux AMD64 WASM Artifact
Darwin AMD64 Artifact
0s
Darwin AMD64 Artifact
Darwin ARM64 Artifact
0s
Darwin ARM64 Artifact
Linux AMD64 Artifact
0s
Linux AMD64 Artifact
Linux ARM64 Artifact
0s
Linux ARM64 Artifact
Linux AMD64 WASM Image
0s
Linux AMD64 WASM Image
Linux AMD64 Image
0s
Linux AMD64 Image
Linux ARM64 Image
0s
Linux ARM64 Image
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 12 warnings
Go CI Linter (.): pkg/injector/patcher/sidecar_patcher_test.go#L100
S1009: should omit nil check; len() for github.com/evanphx/json-patch/v5.Patch is defined as zero (gosimple)
Go CI Linter (.)
issues found
Resolve Go Modules
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Resolve Go Modules
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Resolve Go Modules
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Go Style Check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Go Style Check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Go CI Linter (./demo/state/k8s)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Go CI Linter (./spec)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Go CI Linter (./components)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Go CI Linter (./demo)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Go CI Linter (./sdk/go-sdk)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Go CI Linter (.)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Go Unit Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.