mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
chore(gh): Automatically update cargo-credential MSRV
This commit is contained in:
parent
a4928f6584
commit
4b55a4f76f
29
.github/renovate.json5
vendored
29
.github/renovate.json5
vendored
@ -22,6 +22,19 @@
|
|||||||
packageNameTemplate: 'rust-lang/rust',
|
packageNameTemplate: 'rust-lang/rust',
|
||||||
datasourceTemplate: 'github-releases',
|
datasourceTemplate: 'github-releases',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
customType: 'regex',
|
||||||
|
fileMatch: [
|
||||||
|
'Cargo.toml$',
|
||||||
|
],
|
||||||
|
matchStrings: [
|
||||||
|
'\bMSRV:3\b.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
|
||||||
|
'(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?\bMSRV:3\b',
|
||||||
|
],
|
||||||
|
depNameTemplate: 'MSRV:3', // Support 3 versions of rustc
|
||||||
|
packageNameTemplate: 'rust-lang/rust',
|
||||||
|
datasourceTemplate: 'github-releases',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
packageRules: [
|
packageRules: [
|
||||||
{
|
{
|
||||||
@ -32,10 +45,26 @@
|
|||||||
matchPackageNames: [
|
matchPackageNames: [
|
||||||
'MSRV:1',
|
'MSRV:1',
|
||||||
],
|
],
|
||||||
|
schedule: [
|
||||||
|
'* * * * *',
|
||||||
|
],
|
||||||
|
groupName: 'msrv',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
commitMessageTopic: 'MSRV (3 versions)',
|
||||||
|
matchManagers: [
|
||||||
|
'regex',
|
||||||
|
],
|
||||||
|
matchPackageNames: [
|
||||||
|
'MSRV:3',
|
||||||
|
],
|
||||||
"extractVersion": "^(?<version>\\d+\\.\\d+)", // Drop the patch version
|
"extractVersion": "^(?<version>\\d+\\.\\d+)", // Drop the patch version
|
||||||
schedule: [
|
schedule: [
|
||||||
'* * * * *',
|
'* * * * *',
|
||||||
],
|
],
|
||||||
|
minimumReleaseAge: '85 days', // 2 releases back * 6 weeks per release * 7 days per week + 1
|
||||||
|
internalChecksFilter: 'strict',
|
||||||
|
groupName: 'msrv',
|
||||||
},
|
},
|
||||||
// Goals:
|
// Goals:
|
||||||
// - Rollup safe upgrades to reduce CI runner load
|
// - Rollup safe upgrades to reduce CI runner load
|
||||||
|
@ -3,7 +3,7 @@ name = "cargo-credential"
|
|||||||
version = "0.4.0"
|
version = "0.4.0"
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
rust-version = "1.70.0"
|
rust-version = "1.70.0" # MSRV:3
|
||||||
repository = "https://github.com/rust-lang/cargo"
|
repository = "https://github.com/rust-lang/cargo"
|
||||||
description = "A library to assist writing Cargo credential helpers."
|
description = "A library to assist writing Cargo credential helpers."
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user