ci(lint): refactor test assertions and linter configuration (#4436)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
- Update golangci-lint GitHub Action version from v2.1.6 to v2.6 - Remove the gci formatter and exclusions for third_party, builtin, and examples from the linter config - Fix argument order for assert.EqualValues and assert.Exactly in context tests for clarity - Refactor integration tests to build response strings using strings.Builder instead of direct concatenation for improved performance and readability
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Signed-off-by: appleboy <appleboy.tw@gmail.com>
Diff stats
4 files+13 added−13 removed
- other:+13 added−13 removed