Skip to content

Maintenance: update dependencies and fix linter warnings#233

Merged
umputun merged 2 commits intomasterfrom
maint/deps-update-nov2025
Nov 27, 2025
Merged

Maintenance: update dependencies and fix linter warnings#233
umputun merged 2 commits intomasterfrom
maint/deps-update-nov2025

Conversation

@umputun
Copy link
Owner

@umputun umputun commented Nov 27, 2025

Summary

  • Update all dependencies (go get -u ./..., go mod tidy, go mod vendor)
  • Fix breaking API changes in libdns/route53 and libdns/libdns
  • Update acmez v2 to v3
  • Add new linter rules to .golangci.yml and fix all warnings
  • Add CI disk space cleanup step

Changes

Commit 1: Dependencies + API fixes

  • Bump all Go dependencies
  • Fix libdns/route53 breaking changes (new Record type API)
  • Update mholt/acmez v2 → v3

Commit 2: Linter fixes

  • Add errorlint, wrapcheck, testifylint, nestif to .golangci.yml
  • Fix 52+ linter warnings across codebase
  • Add free disk space step to CI workflow

- bump all dependencies (go get -u ./...)
- fix libdns/route53 and libdns/libdns breaking API changes
- update acmez v2 to v3
- add CLAUDE.md for project context
- add new linter rules to .golangci.yml (errorlint, wrapcheck, testifylint, nestif)
- fix errorlint: use errors.Is/As instead of direct comparison
- fix wrapcheck: wrap errors with context using %w
- fix testifylint: use assert.Len, assert.Empty, assert.True/False, require.ErrorIs
- fix go-require: use assert in goroutines and HTTP handlers
- update CI: add disk space cleanup, bump Go to 1.25, update actions versions
@umputun umputun force-pushed the maint/deps-update-nov2025 branch from 6b71a5b to 089e683 Compare November 27, 2025 05:06
@umputun umputun merged commit 4adb02f into master Nov 27, 2025
2 of 3 checks passed
@umputun umputun deleted the maint/deps-update-nov2025 branch November 27, 2025 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant