Skip to content

Commit

Permalink
Upgrade linter and enable automatic updates
Browse files Browse the repository at this point in the history
This upgrades the linter version we reference in the makefile and
enables automatic updates powered by renovate.

Signed-off-by: Juan Antonio Osorio <[email protected]>
  • Loading branch information
JAORMX committed Apr 18, 2023
1 parent 5c08335 commit b10f4f8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ linters-settings:
- hexLiteral
- httpNoBody
- ifElseChain
- ioutilDeprecated
- methodExprCall
- newDeref
- octalLiteral
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GOLANGCI_LINT_VERSION = v1.51.2
GOLANGCI_LINT_VERSION = v1.52.2

TOOLS_DIR = .tools

Expand Down
12 changes: 12 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,17 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"regexManagers": [
{
"fileMatch": [
"^Makefile$"
],
"matchStrings": [
"GOLANGCI_LINT_VERSION = (?<currentValue>.*?)\\n"
],
"datasourceTemplate": "docker",
"depNameTemplate": "golangci/golangci-lint"
}
]
}

0 comments on commit b10f4f8

Please sign in to comment.