体验:just lint 缺 golangci-lint 只写 see CONTRIBUTING.md,不说 just deps
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 0
- Forks
- 0
- Avg merge
- 10m
- Merged PRs (30d)
- 12
Description
体验
README / CONTRIBUTING 的 lint 闸是 just lint(钉 golangci-lint v2.13.2,与 .github/workflows/ci.yml 一致)。本机没装 golangci-lint 时:
$ just lint
golangci-lint v2.13.2 is required (see CONTRIBUTING.md)
error: recipe `lint` failed with exit code 1
没有可复制下一步。just deps 不存在。just ci 也没有 recipe。用户要打开 CONTRIBUTING 才能找到 curl 安装命令。
不要和 #28 / #29(doctor / 未知命令,已被 #35 覆盖)或 #34(Desired endpoint 架构)混在一起。
期望
just lint 缺 golangci-lint 时 exit 2,stderr 含:
error: golangci-lint not found
try: just deps
just deps 钉 .github/workflows/ci.yml 的 v2.13.2,放在 lint / test / cover 闭包外。不要回退到 go vet。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the just lint entry point and compare the pinned version in .github/workflows/ci.yml. Run just lint without golangci-lint installed, then verify the new just deps path and its version pin. Done means the missing-tool output includes the requested guidance, exits 2, and lint, test, and cover remain unaffected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, go
- Domain
- ci-cd, tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 84/100