Skip to content

Commit

Permalink
chore: Automate updating of MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Aug 22, 2023
1 parent 7a65c82 commit 87b6e0e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,33 @@
ignorePaths: [
"**/tests/**",
],
regexManagers: [
{
customType: 'regex',
fileMatch: [
'^Cargo.toml$',
],
matchStrings: [
'rust-version.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
],
depNameTemplate: 'latest-msrv',
packageNameTemplate: 'rust-lang/rust',
datasourceTemplate: 'github-releases',
},
],
packageRules: [
{
commitMessageTopic: 'Latest MSRV',
matchManagers: [
'regex',
],
matchPackageNames: [
'latest-msrv',
],
schedule: [
'* * * * *',
],
},
// Goals:
// - Rollup safe upgrades to reduce CI runner load
// - Have lockfile and manifest in-sync (implicit rules)
Expand Down

0 comments on commit 87b6e0e

Please sign in to comment.