chore(ci): Run the latest clippy

This commit is contained in:
Ed Page 2024-02-15 10:03:14 -06:00
parent 4db293d99b
commit 779496bb00
2 changed files with 36 additions and 3 deletions

View file

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

View file

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