cloudflare / cloudflare/cfssl

Github action for golangci lint has typecheck errors

Open
#1,411 1 comment 0 reactions 0 assignees View on GitHub
github_actions
Dominant language
Go
Stars
9.5k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Error
```
e.g certdb/certdb.go:5:2: could not import encoding/json (Config.Importer.Import(encoding/json) returned nil but no error) (typecheck)
```
typecheck cannot be disabled like other linters. Docs have some troubleshooting steps here - https://golangci-lint.run/welcome/faq/#why-do-you-have-typecheck-errors

Contributor guide

Open the contributing guide

Research direction

Start with the reported typecheck error in certdb/certdb.go and review the linked golangci-lint troubleshooting FAQ. Reproduce the GitHub Action failure and identify why the import check fails; done means the action no longer reports this typecheck error.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, go
Domain
ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.