Skip to content

Commit

Permalink
renovate: run go mod tidy
Browse files Browse the repository at this point in the history
We have a bunch of Go linters enabled, one of them checks that go.mod
and go.sum are tidy. Renovate updates for Go modules fail this check
almost every time. Try to fix the situation by making Renovate run go
mod tidy.

https://docs.renovatebot.com/configuration-options/#postupdateoptions

Signed-off-by: Adam Cmiel <[email protected]>
  • Loading branch information
chmeliik committed Jul 16, 2024
1 parent f19b660 commit dd52262
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,8 @@
"enabled": false,
"groupName": "ignore"
}
],
"postUpdateOptions": [
"gomodTidy"
]
}

0 comments on commit dd52262

Please sign in to comment.