Skip to content

Commit

Permalink
ci: bump golangci-lint to v1.59
Browse files Browse the repository at this point in the history
Also update linter config to reflect name change of linter goerr113 to
err113.
  • Loading branch information
tri-adam committed May 28, 2024
1 parent d47bad8 commit e325923
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ executors:
- image: node:20-slim
golangci-lint:
docker:
- image: golangci/golangci-lint:v1.57
- image: golangci/golangci-lint:v1.59
golang-previous:
docker:
- image: golang:1.21
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ linters:
- dogsled
- dupl
- dupword
- err113
- errcheck
- errchkjson
- errname
Expand All @@ -21,7 +22,6 @@ linters:
- gocritic
- godot
- godox
- goerr113
- gofumpt
- goimports
- gomodguard
Expand Down
4 changes: 1 addition & 3 deletions pkg/sif/descriptor_input_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2021-2023, Sylabs Inc. All rights reserved.
// Copyright (c) 2021-2024, Sylabs Inc. All rights reserved.
// This software is licensed under a 3-clause BSD license. Please consult the
// LICENSE file distributed with the sources of this project regarding your
// rights to use or distribute this software.
Expand Down Expand Up @@ -195,8 +195,6 @@ func TestNewDescriptorInput(t *testing.T) {
},
}
for _, tt := range tests {
tt := tt

t.Run(tt.name, func(t *testing.T) {
t.Parallel()

Expand Down

0 comments on commit e325923

Please sign in to comment.