Github action for golangci lint has typecheck errors
Open
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
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