mirror of
https://github.com/restic/restic.git
synced 2026-10-12 13:07:14 +00:00
ci: update golangci-lint to v2.14 (#22111)
Co-authored-by: Michael Eischer <michael.eischer@fau.de>
This commit is contained in:
1 parent
ca1c625227
commit
519a979107
2 files changed
+1
-2
No files matched your search
@@ -271,7 +271,7 @@ jobs:
|
||||
uses: golangci/golangci-lint-action@v9
|
||||
with:
|
||||
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
|
||||
version: v2.13
|
||||
version: v2.14
|
||||
args: --verbose --timeout 5m
|
||||
|
||||
# only run golangci-lint for pull requests, otherwise ALL hints get
|
||||
|
||||
@@ -37,7 +37,6 @@ func TestIndexMapForeach(t *testing.T) {
|
||||
var m indexMap
|
||||
|
||||
// Don't crash on empty map.
|
||||
//nolint:revive // ignore empty iteration
|
||||
for range m.values() {
|
||||
// empty iteration
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user