Skip to content

Layer refactor

Layer refactor #4576

Triggered via pull request February 14, 2024 19:38
Status Failure
Total duration 4m 37s
Artifacts

ci.yml

on: pull_request
Matrix: lint
test-linux
0s
test-linux
Matrix: test-windows
Matrix: integration-tests
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 4 warnings
lint (windows, test): test/pkg/uvm/wcow.go#L28
SA1019: opts.LayerFolders is deprecated: LayerFolders is a deprecated field and kept only for legacy purposes. Use `BootFiles` (staticcheck)
lint (windows, test): test/functional/wcow_test.go#L700
SA1019: xenonOciOpts.LayerFolders is deprecated: LayerFolders is a deprecated field and kept only for legacy purposes. Use `BootFiles` (staticcheck)
lint (windows, test)
issues found
lint (windows): internal/layers/copy.go#L58
const `layerCimPathFlag` is unused (unused)
lint (windows): cmd/containerd-shim-runhcs-v1/main.go#L32
const `layersFile` is unused (unused)
lint (windows): cmd/containerd-shim-runhcs-v1/rootfs.go#L22
func `validateRootfsAndLayers` is unused (unused)
lint (windows): cmd/containerd-shim-runhcs-v1/service_internal.go#L126
SA9003: empty branch (staticcheck)
lint (windows): cmd/runhcs/container.go#L419
SA1019: opts.LayerFolders is deprecated: LayerFolders is a deprecated field and kept only for legacy purposes. Use `BootFiles` (staticcheck)
lint (windows)
issues found
lint (linux): internal/layers/copy.go#L23
func `validateRootfsAndLayers` is unused (unused)
lint (linux): internal/layers/copy.go#L53
const `parentLayerPathsFlag` is unused (unused)
lint (linux): internal/layers/copy.go#L58
const `layerCimPathFlag` is unused (unused)
lint (linux): internal/layers/copy.go#L62
const `parentLayerCimPathsFlag` is unused (unused)
lint (linux): internal/layers/copy.go#L66
func `getParentPaths` is unused (unused)
lint (linux): internal/layers/copy.go#L80
func `getParentCimPaths` is unused (unused)
lint (linux)
issues found
lint (linux, test)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
lint (windows, test)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
lint (windows)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
lint (linux)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.