b216ac63aa
Various semi-related changes to the GHA setup to maximize code-reuse and cache effectiveness, as well as introduce rust-toolchain.toml and cargo deny.
38 lines
969 B
Plaintext
38 lines
969 B
Plaintext
{
|
|
extends: [
|
|
"config:best-practices",
|
|
"schedule:monthly",
|
|
// Group updates to linters together in one PR
|
|
"group:linters",
|
|
],
|
|
dependencyDashboard: true,
|
|
"labels": ["dependencies"],
|
|
lockFileMaintenance: {
|
|
enabled: true,
|
|
automerge: true
|
|
},
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": ["^rust-toolchain\\.toml?$"],
|
|
"matchStrings": [
|
|
"channel\\s*=\\s*\"(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)\""
|
|
],
|
|
"depNameTemplate": "rust",
|
|
"packageNameTemplate": "rust-lang/rust",
|
|
"datasourceTemplate": "github-releases"
|
|
},
|
|
],
|
|
packageRules: [
|
|
{
|
|
matchCategories: ["rust"],
|
|
minimumReleaseAge: "3 days",
|
|
automerge: true
|
|
},
|
|
],
|
|
ignorePaths: [
|
|
// Auto-generated by cargo-dist (https://opensource.axo.dev/cargo-dist/)
|
|
".github/workflows/release.yml"
|
|
]
|
|
}
|