Skip to content

chore: update posthog key #26

chore: update posthog key

chore: update posthog key #26

Triggered via push July 1, 2025 07:47
Status Failure
Total duration 2m 7s
Artifacts

ci.yml

on: push
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 2 warnings
Lint
issues found
Lint: pkg/analytics/analytics.go#L17
G101: Potential hardcoded credentials (gosec)
Lint: pkg/analytics/analytics.go#L11
File is not properly formatted (goimports)
Lint: cmd/config.go#L234
File is not properly formatted (gofumpt)
Lint: pkg/analytics/utils.go#L30
paramTypeCombine: func(cmdName string, subCmd string, context map[string]interface{}, fn func(cmd *cobra.Command, args []string) error) func(cmd *cobra.Command, args []string) error could be replaced with func(cmdName, subCmd string, context map[string]interface{}, fn func(cmd *cobra.Command, args []string) error) func(cmd *cobra.Command, args []string) error (gocritic)
Lint: pkg/analytics/utils.go#L10
paramTypeCombine: func(cmdName string, subCmd string, fn func(cmd *cobra.Command, args []string) error) func(cmd *cobra.Command, args []string) error could be replaced with func(cmdName, subCmd string, fn func(cmd *cobra.Command, args []string) error) func(cmd *cobra.Command, args []string) error (gocritic)
Lint: pkg/analytics/analytics.go#L105
paramTypeCombine: func(command string, subcommand string, success bool, duration time.Duration, errorMsg string) could be replaced with func(command, subcommand string, success bool, duration time.Duration, errorMsg string) (gocritic)
Lint: cmd/root.go#L190
exitAfterDefer: os.Exit will exit, and `defer func(){...}(...)` will not run (gocritic)
Lint: pkg/analytics/analytics.go#L97
Error return value of `globalClient.client.Enqueue` is not checked (errcheck)
Lint: pkg/analytics/analytics.go#L76
Error return value of `globalClient.client.Close` is not checked (errcheck)
Test (ubuntu-latest, 1.23)
Cannot open: File exists
Test (ubuntu-latest, 1.23)
Cannot open: File exists
Test (ubuntu-latest, 1.23)
Cannot open: File exists
Test (ubuntu-latest, 1.23)
Cannot open: File exists
Test (ubuntu-latest, 1.23)
Cannot open: File exists
Test (ubuntu-latest, 1.23)
Cannot open: File exists
Test (ubuntu-latest, 1.23)
Cannot open: File exists
Test (ubuntu-latest, 1.23)
Cannot open: File exists
Test (ubuntu-latest, 1.23)
Cannot open: File exists
Test (ubuntu-latest, 1.23)
Cannot open: File exists
Test (ubuntu-latest, 1.24.4)
Unexpected input(s) 'file', valid inputs are ['base_sha', 'binary', 'codecov_yml_path', 'commit_parent', 'directory', 'disable_file_fixes', 'disable_search', 'disable_safe_directory', 'disable_telem', 'dry_run', 'env_vars', 'exclude', 'fail_ci_if_error', 'files', 'flags', 'force', 'git_service', 'gcov_args', 'gcov_executable', 'gcov_ignore', 'gcov_include', 'handle_no_reports_found', 'job_code', 'name', 'network_filter', 'network_prefix', 'os', 'override_branch', 'override_build', 'override_build_url', 'override_commit', 'override_pr', 'plugins', 'recurse_submodules', 'report_code', 'report_type', 'root_dir', 'run_command', 'skip_validation', 'slug', 'swift_project', 'token', 'url', 'use_legacy_upload_endpoint', 'use_oidc', 'use_pypi', 'verbose', 'version', 'working-directory']
Test (ubuntu-latest, 1.23)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2