Skip to content

Commit 3f55dd5

Browse files
authored
Upgrade golangci-lint to 2.11.4 (#1204)
Upgrades golangci-lint to 2.11.4 to keep it on the same version as other repositories. The version in there is already pretty recent, so no changes are needed.
1 parent 0143b85 commit 3f55dd5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ jobs:
299299
name: lint
300300
runs-on: ubuntu-latest
301301
env:
302-
GOLANGCI_LINT_VERSION: v2.10.1
302+
GOLANGCI_LINT_VERSION: v2.11.4
303303
permissions:
304304
contents: read
305305
# allow read access to pull request. Use with `only-new-issues` option.

riverdriver/riverpgxv5/river_pgx_v5_driver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ func (e *Executor) JobSetStateIfRunningMany(ctx context.Context, params *riverdr
624624
for i := range len(params.ID) {
625625
if params.Attempt[i] != nil {
626626
setStateParams.AttemptDoUpdate[i] = true
627-
setStateParams.Attempt[i] = int32(*params.Attempt[i])
627+
setStateParams.Attempt[i] = int32(*params.Attempt[i]) //nolint:gosec
628628
}
629629
if params.ErrData[i] != nil {
630630
setStateParams.ErrorsDoUpdate[i] = true

0 commit comments

Comments
 (0)