Skip to content

adjust tests for HideDefault #46

adjust tests for HideDefault

adjust tests for HideDefault #46

Triggered via pull request June 29, 2024 21:12
Status Failure
Total duration 31s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 3 warnings
golangci-lint: internal/build/build.go#L23
could not import github.com/urfave/cli/v3 (-: # github.com/urfave/cli/v3
golangci-lint: flag_impl.go#L221
method FlagBase.IsDefaultVisible already declared at ./flag.go:183:29) (typecheck)
golangci-lint: internal/build/build.go#L176
undefined: cli (typecheck)
golangci-lint: internal/build/build.go#L234
undefined: cli (typecheck)
golangci-lint: internal/build/build.go#L238
undefined: cli (typecheck)
golangci-lint: internal/example-cli/example-cli.go#L8
could not import github.com/urfave/cli/v3 (-: # github.com/urfave/cli/v3
golangci-lint: flag_impl.go#L221
method FlagBase.IsDefaultVisible already declared at ./flag.go:183:29) (typecheck)
golangci-lint: args.go#L1
: # github.com/urfave/cli/v3 [github.com/urfave/cli/v3.test]
golangci-lint: flag_impl.go#L221
method FlagBase.IsDefaultVisible already declared at ./flag.go:183:29 (typecheck)
golangci-lint: examples_test.go#L13
could not import github.com/urfave/cli/v3 (-: # github.com/urfave/cli/v3 [github.com/urfave/cli/v3.test]
staticcheck: flag_impl.go#L221
method FlagBase.IsDefaultVisible already declared at ./flag.go:183:29 (compile)
staticcheck: flag_impl.go#L221
method FlagBase.IsDefaultVisible already declared at ./flag.go:183:29 (compile)
staticcheck
Process completed with exit code 1.
format
Restore cache failed: Dependencies file is not found in /home/runner/work/cli/cli. Supported file pattern: go.sum
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/cli/cli. Supported file pattern: go.sum
staticcheck
Restore cache failed: Dependencies file is not found in /home/runner/work/cli/cli. Supported file pattern: go.sum