mirror of https://github.com/astral-sh/uv
Add the Rust toolchain to Renovate (#15223)
Inspired by - https://github.com/Turbo87/renovate-config/blob/master/rust/updateToolchain.json - https://github.com/rust-lang/cargo/blob/master/.github/renovate.json5#L66-L81
This commit is contained in:
parent
68c0bf8a2c
commit
959c9521c8
|
|
@ -86,6 +86,21 @@
|
|||
description: "Weekly update of pyo3 dependencies",
|
||||
enabled: false,
|
||||
},
|
||||
{
|
||||
commitMessageTopic: "MSRV",
|
||||
matchManagers: ["regex"],
|
||||
matchDepNames: ["msrv"],
|
||||
// We have a rolling support policy for the MSRV
|
||||
// 2 releases back * 6 weeks per release * 7 days per week + 1
|
||||
minimumReleaseAge: "85 days",
|
||||
internalChecksFilter: "strict",
|
||||
groupName: "MSRV",
|
||||
},
|
||||
{
|
||||
matchManagers: ["regex"],
|
||||
matchDepNames: ["rust"],
|
||||
commitMessageTopic: "Rust",
|
||||
},
|
||||
],
|
||||
customManagers: [
|
||||
// Update major GitHub actions references in documentation.
|
||||
|
|
@ -98,6 +113,27 @@
|
|||
datasourceTemplate: "github-tags",
|
||||
versioningTemplate: "regex:^v(?<major>\\d+)$",
|
||||
},
|
||||
// Minimum supported Rust toolchain version
|
||||
{
|
||||
customType: "regex",
|
||||
fileMatch: ["(^|/)Cargo\\.toml?$"],
|
||||
matchStrings: [
|
||||
'rust-version\\s*=\\s*"(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)"',
|
||||
],
|
||||
depNameTemplate: "msrv",
|
||||
lookupNameTemplate: "rust-lang/rust",
|
||||
datasourceTemplate: "github-releases",
|
||||
},
|
||||
// Rust toolchain version
|
||||
{
|
||||
fileMatch: ["(^|/)rust-toolchain\\.toml?$"],
|
||||
matchStrings: [
|
||||
'channel\\s*=\\s*"(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)"',
|
||||
],
|
||||
depNameTemplate: "rust",
|
||||
lookupNameTemplate: "rust-lang/rust",
|
||||
datasourceTemplate: "github-releases",
|
||||
},
|
||||
],
|
||||
vulnerabilityAlerts: {
|
||||
commitMessageSuffix: "",
|
||||
|
|
|
|||
Loading…
Reference in New Issue