|
Ran
|
Jobs
1
|
Files
43
|
Run time
1min
|
Badge
README BADGES
|
push
github
upgrade golangci-lint to v2 (#136) * Bump github.com/jackc/pgx/v5 from 5.5.4 to 5.9.0 in /drivers/pgxv5 Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.5.4 to 5.9.0. - [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md) - [Commits](https://github.com/jackc/pgx/compare/v5.5.4...v5.9.0) --- updated-dependencies: - dependency-name: github.com/jackc/pgx/v5 dependency-version: 5.9.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * chore: bump go.work to 1.25 * chore: migrate golangci-lint config to v2 * ci: upgrade golangci-lint-action to v7 with v2 support * fix: add CommitQuery field to pgx.TxOptions in settings * fix: resolve golangci-lint v2 issues across trm and drivers * Revert "Bump github.com/jackc/pgx/v5 from 5.5.4 to 5.9.0 in /drivers/pgxv5" This reverts commit 5cde52326. * chore: replace wsl with wsl_v5 and fix related lint issues * fix: rename benchmark package common to benchutil * fix: remove unnecessary whitespace in closer.go * docs: highlight disclaimer in red * fix unknown goerr113 linter in nolint directive * revert: restore go.work to 1.21 and remove CommitQuery from pgx.TxOptions * docs: highlight disclaimer in CAUTION * refactor package name benchmark/common->benchutil * chore: remove default wsl_v5 settings `allow-first-in-block: true` and `branch-max-lines: 2` are defaults. * chore: use YAML anchors for internal exclusions, drop trm/context Replaced repeated `path` fields with a YAML anchor. Removed `trm/context` from var-naming exclusion — no linting warnings fire on it without the exclusion. * chore: remove phantom exclusion paths `third_party` and `builtin` were golangci-lint v1 defaults that leaked in during migration — these directories don't exist in the project. Removed `examples` exclusion to keep examples linted. * chore: switch to enable-all linters strategy * chore: remove nolint d... (continued)
1615 of 1714 relevant lines covered (94.22%)
7.51 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 6 |
91.58 |
0.0% | trm/v2/manager/manager.go |
| 3 |
96.15 |
0.0% | drivers/goredis8/v2/settings.go |
| 2 |
97.78 |
-1.12% | drivers/goredis8/v2/transaction.go |
| 2 |
91.67 |
0.0% | drivers/gorm/v2/settings.go |
| 2 |
94.74 |
0.0% | drivers/mongo/v2/settings.go |
| 2 |
92.86 |
0.0% | drivers/pgxv4/v2/settings.go |
| 2 |
93.02 |
0.0% | drivers/pgxv5/v2/settings.go |
| 2 |
91.67 |
0.0% | drivers/sql/v2/settings.go |
| 1 |
99.07 |
-0.93% | drivers/gorm/v2/transaction.go |
| 1 |
98.21 |
-1.79% | drivers/pgxv4/v2/transaction.go |
| 1 |
96.97 |
-0.05% | trm/v2/manager/closer.go |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 26416784676.1 | 43 |
94.22 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|