fix: upgrade Nix flake Go version to 1.24 and fix lint errors#98
fix: upgrade Nix flake Go version to 1.24 and fix lint errors#98
Conversation
The Nix flake was providing Go 1.23, but go.mod targets Go 1.24.0 with toolchain go1.24.10. This caused golangci-lint to fail because it was built with a lower Go version than the target. - Bump goVersion from 23 to 24 in flake.nix - Update flake.lock with latest nixpkgs - Replace dot imports with named imports in testserver.go (ST1001)
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
go.mod(Go 1.24.0 / toolchain go1.24.10). This was causinggolangci-lintto fail with:the Go language version (go1.23) used to build golangci-lint is lower than the targeted Go version (1.24.10)flake.lockwith latest nixpkgs and NUR inputspkg/testserver/testserver.goby replacing dot imports with named importsTest plan
just pre-commitpasses locally (generate, tidy, lint — 0 issues)