Skip to content

feat: refactor cli parsing #2782

feat: refactor cli parsing

feat: refactor cli parsing #2782

Triggered via pull request December 2, 2024 11:40
Status Failure
Total duration 1h 24m 9s
Artifacts

ci.yaml

on: pull_request
Matrix: gen-code-no-diff
Matrix: linux-e2e-tests
Matrix: macos-e2e-tests
Matrix: unit-tests
Matrix: windows-e2e-tests
Fit to window
Zoom out
Zoom in

Annotations

27 errors and 40 warnings
ShellCheck
Process completed with exit code 1.
unit-tests (ubuntu-latest)
Process completed with exit code 2.
lint: cmd/finch/nerdctl_remote.go#L233
Error return value of `file.Close` is not checked (errcheck)
lint: cmd/finch/nerdctl_remote.go#L43
appendAssign: append result not assigned to the same slice (gocritic)
lint: cmd/finch/nerdctl_remote.go#L71
appendAssign: append result not assigned to the same slice (gocritic)
lint: cmd/finch/nerdctl_remote.go#L158
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: cmd/finch/nerdctl_remote.go#L229
G304: Potential file inclusion via variable (gosec)
lint: cmd/finch/nerdctl.go#L215
increment-decrement: should replace idx += 1 with idx++ (revive)
lint: cmd/finch/nerdctl.go#L144
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/finch/nerdctl.go#L273
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/finch/nerdctl_remote.go#L173
(*nerdctlCommand).handleEnvFileArg - result 0 (error) is always nil (unparam)
lint: cmd/finch/nerdctl.go#L79
unnecessary trailing newline (whitespace)
unit-tests (macos-latest)
Process completed with exit code 2.
linux-e2e-tests (amazonlinux, arm64, 2, test) / test
Process completed with exit code 2.
linux-e2e-tests (amazonlinux, X64, 2, test) / test
Process completed with exit code 2.
linux-e2e-tests (amazonlinux, arm64, 2023, test) / test
Process completed with exit code 2.
linux-e2e-tests (amazonlinux, X64, 2023, test) / test
Process completed with exit code 2.
macos-e2e-tests (14, test-e2e-container, arm64, test) / test
Process completed with exit code 2.
unit-tests (windows-latest)
Process completed with exit code 1.
macos-e2e-tests (13, test-e2e-container, arm64, test) / test
Process completed with exit code 2.
macos-e2e-tests (13, test-e2e-container, X64, test) / test
Process completed with exit code 2.
macos-e2e-tests (14, test-e2e-container, X64, test) / test
Process completed with exit code 2.
macos-e2e-tests (13, test-e2e-vm-serial, arm64, test) / test
Process completed with exit code 2.
macos-e2e-tests (14, test-e2e-vm-serial, X64, test) / test
Process completed with exit code 2.
macos-e2e-tests (13, test-e2e-vm-serial, X64, test) / test
Process completed with exit code 2.
windows-e2e-tests (test-e2e-container, amd64, test) / test
Process completed with exit code 1.
macos-e2e-tests (14, test-e2e-vm-serial, arm64, test) / test
Process completed with exit code 2.
macos-e2e-tests (14, test-e2e-container, arm64, test) / test
lz4 1.10.0 is already installed and up-to-date. To reinstall 1.10.0, run: brew reinstall lz4
macos-e2e-tests (14, test-e2e-container, arm64, test) / test
automake 1.17 is already installed and up-to-date. To reinstall 1.17, run: brew reinstall automake
macos-e2e-tests (14, test-e2e-container, arm64, test) / test
autoconf 2.72 is already installed and up-to-date. To reinstall 2.72, run: brew reinstall autoconf
macos-e2e-tests (14, test-e2e-container, arm64, test) / test
libtool 2.5.4 is already installed and up-to-date. To reinstall 2.5.4, run: brew reinstall libtool
macos-e2e-tests (14, test-e2e-container, arm64, test) / test
yq 4.44.5 is already installed and up-to-date. To reinstall 4.44.5, run: brew reinstall yq
macos-e2e-tests (13, test-e2e-container, arm64, test) / test
lz4 1.10.0 is already installed and up-to-date. To reinstall 1.10.0, run: brew reinstall lz4
macos-e2e-tests (13, test-e2e-container, arm64, test) / test
automake 1.17 is already installed and up-to-date. To reinstall 1.17, run: brew reinstall automake
macos-e2e-tests (13, test-e2e-container, arm64, test) / test
autoconf 2.72 is already installed and up-to-date. To reinstall 2.72, run: brew reinstall autoconf
macos-e2e-tests (13, test-e2e-container, arm64, test) / test
libtool 2.5.4 is already installed and up-to-date. To reinstall 2.5.4, run: brew reinstall libtool
macos-e2e-tests (13, test-e2e-container, arm64, test) / test
yq 4.44.5 is already installed and up-to-date. To reinstall 4.44.5, run: brew reinstall yq
macos-e2e-tests (13, test-e2e-container, X64, test) / test
lz4 1.10.0 is already installed and up-to-date. To reinstall 1.10.0, run: brew reinstall lz4
macos-e2e-tests (13, test-e2e-container, X64, test) / test
automake 1.17 is already installed and up-to-date. To reinstall 1.17, run: brew reinstall automake
macos-e2e-tests (13, test-e2e-container, X64, test) / test
autoconf 2.72 is already installed and up-to-date. To reinstall 2.72, run: brew reinstall autoconf
macos-e2e-tests (13, test-e2e-container, X64, test) / test
libtool 2.5.4 is already installed and up-to-date. To reinstall 2.5.4, run: brew reinstall libtool
macos-e2e-tests (13, test-e2e-container, X64, test) / test
yq 4.44.5 is already installed and up-to-date. To reinstall 4.44.5, run: brew reinstall yq
macos-e2e-tests (14, test-e2e-container, X64, test) / test
lz4 1.10.0 is already installed and up-to-date. To reinstall 1.10.0, run: brew reinstall lz4
macos-e2e-tests (14, test-e2e-container, X64, test) / test
automake 1.17 is already installed and up-to-date. To reinstall 1.17, run: brew reinstall automake
macos-e2e-tests (14, test-e2e-container, X64, test) / test
autoconf 2.72 is already installed and up-to-date. To reinstall 2.72, run: brew reinstall autoconf
macos-e2e-tests (14, test-e2e-container, X64, test) / test
libtool 2.5.4 is already installed and up-to-date. To reinstall 2.5.4, run: brew reinstall libtool
macos-e2e-tests (14, test-e2e-container, X64, test) / test
yq 4.44.5 is already installed and up-to-date. To reinstall 4.44.5, run: brew reinstall yq
macos-e2e-tests (13, test-e2e-vm-serial, arm64, test) / test
lz4 1.10.0 is already installed and up-to-date. To reinstall 1.10.0, run: brew reinstall lz4
macos-e2e-tests (13, test-e2e-vm-serial, arm64, test) / test
automake 1.17 is already installed and up-to-date. To reinstall 1.17, run: brew reinstall automake
macos-e2e-tests (13, test-e2e-vm-serial, arm64, test) / test
autoconf 2.72 is already installed and up-to-date. To reinstall 2.72, run: brew reinstall autoconf
macos-e2e-tests (13, test-e2e-vm-serial, arm64, test) / test
libtool 2.5.4 is already installed and up-to-date. To reinstall 2.5.4, run: brew reinstall libtool
macos-e2e-tests (13, test-e2e-vm-serial, arm64, test) / test
yq 4.44.5 is already installed and up-to-date. To reinstall 4.44.5, run: brew reinstall yq
macos-e2e-tests (14, test-e2e-vm-serial, X64, test) / test
lz4 1.10.0 is already installed and up-to-date. To reinstall 1.10.0, run: brew reinstall lz4
macos-e2e-tests (14, test-e2e-vm-serial, X64, test) / test
automake 1.17 is already installed and up-to-date. To reinstall 1.17, run: brew reinstall automake
macos-e2e-tests (14, test-e2e-vm-serial, X64, test) / test
autoconf 2.72 is already installed and up-to-date. To reinstall 2.72, run: brew reinstall autoconf
macos-e2e-tests (14, test-e2e-vm-serial, X64, test) / test
libtool 2.5.4 is already installed and up-to-date. To reinstall 2.5.4, run: brew reinstall libtool
macos-e2e-tests (14, test-e2e-vm-serial, X64, test) / test
yq 4.44.5 is already installed and up-to-date. To reinstall 4.44.5, run: brew reinstall yq
macos-e2e-tests (13, test-e2e-vm-serial, X64, test) / test
lz4 1.10.0 is already installed and up-to-date. To reinstall 1.10.0, run: brew reinstall lz4
macos-e2e-tests (13, test-e2e-vm-serial, X64, test) / test
automake 1.17 is already installed and up-to-date. To reinstall 1.17, run: brew reinstall automake
macos-e2e-tests (13, test-e2e-vm-serial, X64, test) / test
autoconf 2.72 is already installed and up-to-date. To reinstall 2.72, run: brew reinstall autoconf
macos-e2e-tests (13, test-e2e-vm-serial, X64, test) / test
libtool 2.5.4 is already installed and up-to-date. To reinstall 2.5.4, run: brew reinstall libtool
macos-e2e-tests (13, test-e2e-vm-serial, X64, test) / test
yq 4.44.5 is already installed and up-to-date. To reinstall 4.44.5, run: brew reinstall yq
macos-e2e-tests (14, test-e2e-vm-serial, arm64, test) / test
lz4 1.10.0 is already installed and up-to-date. To reinstall 1.10.0, run: brew reinstall lz4
macos-e2e-tests (14, test-e2e-vm-serial, arm64, test) / test
automake 1.17 is already installed and up-to-date. To reinstall 1.17, run: brew reinstall automake
macos-e2e-tests (14, test-e2e-vm-serial, arm64, test) / test
autoconf 2.72 is already installed and up-to-date. To reinstall 2.72, run: brew reinstall autoconf
macos-e2e-tests (14, test-e2e-vm-serial, arm64, test) / test
libtool 2.5.4 is already installed and up-to-date. To reinstall 2.5.4, run: brew reinstall libtool
macos-e2e-tests (14, test-e2e-vm-serial, arm64, test) / test
yq 4.44.5 is already installed and up-to-date. To reinstall 4.44.5, run: brew reinstall yq