Skip to content

feat: add self-update command #1179

feat: add self-update command

feat: add self-update command #1179

Triggered via pull request July 23, 2024 07:42
Status Failure
Total duration 3m 46s
Artifacts

test.yml

on: pull_request
Matrix: test-integrity
Matrix: test
coverage
7s
coverage
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 8 warnings
build: cmd/commands_no_self_update.go#L16
cannot use version{} (value of type version) as command value in array or slice literal: version does not implement command (missing method add)
build: cmd/commands_no_self_update.go#L17
cannot use add{} (value of type add) as command value in array or slice literal: add does not implement command (missing method add)
build: cmd/commands_no_self_update.go#L18
cannot use install{} (value of type install) as command value in array or slice literal: install does not implement command (missing method add)
build: cmd/commands_no_self_update.go#L19
cannot use uninstall{} (value of type uninstall) as command value in array or slice literal: uninstall does not implement command (missing method add)
build: cmd/commands_no_self_update.go#L20
cannot use run{} (value of type run) as command value in array or slice literal: run does not implement command (missing method add)
build: cmd/commands_no_self_update.go#L21
cannot use dump{} (value of type dump) as command value in array or slice literal: dump does not implement command (missing method add)
build: cmd/root.go#L55
subcommand.New undefined (type command has no field or method New)
build
The process '/opt/hostedtoolcache/goreleaser-action/2.1.0/x64/goreleaser' failed with exit code 1
test-integrity (1.22.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/lefthook/lefthook. Supported file pattern: go.sum
test (1.22.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/lefthook/lefthook. Supported file pattern: go.sum
test (1.22.x, macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/lefthook/lefthook. Supported file pattern: go.sum
test-integrity (1.22.x, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\lefthook\lefthook. Supported file pattern: go.sum
build
You are using 'latest' as default version. Will lock to '~> v2'.
build
Restore cache failed: Dependencies file is not found in /home/runner/work/lefthook/lefthook. Supported file pattern: go.sum
test-integrity (1.22.x, macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/lefthook/lefthook. Supported file pattern: go.sum
test (1.22.x, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\lefthook\lefthook. Supported file pattern: go.sum