chore: Automate updating of MSRV

This commit is contained in:
Ed Page 2023-07-19 09:21:37 -05:00
parent 7a65c826a0
commit 87b6e0e684

View File

@ -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)