mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 06:44:16 +00:00
chore(ci): Run the latest clippy
This commit is contained in:
parent
4db293d99b
commit
779496bb00
2 changed files with 36 additions and 3 deletions
37
.github/renovate.json5
vendored
37
.github/renovate.json5
vendored
|
@ -21,7 +21,25 @@
|
|||
'MSRV.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
|
||||
'(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?MSRV',
|
||||
],
|
||||
depNameTemplate: 'rust',
|
||||
depNameTemplate: 'MSRV',
|
||||
packageNameTemplate: 'rust-lang/rust',
|
||||
datasourceTemplate: 'github-releases',
|
||||
},
|
||||
{
|
||||
customType: 'regex',
|
||||
fileMatch: [
|
||||
'^rust-toolchain\\.toml$',
|
||||
'Cargo.toml$',
|
||||
'clippy.toml$',
|
||||
'\\.clippy.toml$',
|
||||
'^\\.github/workflows/ci.yml$',
|
||||
'^\\.github/workflows/rust-next.yml$',
|
||||
],
|
||||
matchStrings: [
|
||||
'STABLE.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
|
||||
'(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?STABLE',
|
||||
],
|
||||
depNameTemplate: 'STABLE',
|
||||
packageNameTemplate: 'rust-lang/rust',
|
||||
datasourceTemplate: 'github-releases',
|
||||
},
|
||||
|
@ -33,7 +51,7 @@
|
|||
'custom.regex',
|
||||
],
|
||||
matchPackageNames: [
|
||||
'rust',
|
||||
'MSRV',
|
||||
],
|
||||
minimumReleaseAge: '336 days', // 8 releases * 6 weeks per release * 7 days per week
|
||||
internalChecksFilter: 'strict',
|
||||
|
@ -41,6 +59,21 @@
|
|||
schedule: [
|
||||
'* * * * *',
|
||||
],
|
||||
groupName: 'rust-version',
|
||||
},
|
||||
{
|
||||
commitMessageTopic: 'STABLE',
|
||||
matchManagers: [
|
||||
'custom.regex',
|
||||
],
|
||||
matchPackageNames: [
|
||||
'STABLE',
|
||||
],
|
||||
extractVersion: '^(?<version>\\d+\\.\\d+)', // Drop the patch version
|
||||
schedule: [
|
||||
'* * * * *',
|
||||
],
|
||||
groupName: 'rust-version',
|
||||
},
|
||||
// Goals:
|
||||
// - Keep version reqs low, ignoring compatible normal/build dependencies
|
||||
|
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -124,7 +124,7 @@ jobs:
|
|||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: "1.65.0" # MSRV
|
||||
toolchain: "1.76" # STABLE
|
||||
components: clippy
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Install SARIF tools
|
||||
|
|
Loading…
Reference in a new issue