mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 00:51:11 -05: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+)?)',
|
'MSRV.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
|
||||||
'(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?MSRV',
|
'(?<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',
|
packageNameTemplate: 'rust-lang/rust',
|
||||||
datasourceTemplate: 'github-releases',
|
datasourceTemplate: 'github-releases',
|
||||||
},
|
},
|
||||||
|
@ -33,7 +51,7 @@
|
||||||
'custom.regex',
|
'custom.regex',
|
||||||
],
|
],
|
||||||
matchPackageNames: [
|
matchPackageNames: [
|
||||||
'rust',
|
'MSRV',
|
||||||
],
|
],
|
||||||
minimumReleaseAge: '336 days', // 8 releases * 6 weeks per release * 7 days per week
|
minimumReleaseAge: '336 days', // 8 releases * 6 weeks per release * 7 days per week
|
||||||
internalChecksFilter: 'strict',
|
internalChecksFilter: 'strict',
|
||||||
|
@ -41,6 +59,21 @@
|
||||||
schedule: [
|
schedule: [
|
||||||
'* * * * *',
|
'* * * * *',
|
||||||
],
|
],
|
||||||
|
groupName: 'rust-version',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
commitMessageTopic: 'STABLE',
|
||||||
|
matchManagers: [
|
||||||
|
'custom.regex',
|
||||||
|
],
|
||||||
|
matchPackageNames: [
|
||||||
|
'STABLE',
|
||||||
|
],
|
||||||
|
extractVersion: '^(?<version>\\d+\\.\\d+)', // Drop the patch version
|
||||||
|
schedule: [
|
||||||
|
'* * * * *',
|
||||||
|
],
|
||||||
|
groupName: 'rust-version',
|
||||||
},
|
},
|
||||||
// Goals:
|
// Goals:
|
||||||
// - Keep version reqs low, ignoring compatible normal/build dependencies
|
// - 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
|
- name: Install Rust
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: "1.65.0" # MSRV
|
toolchain: "1.76" # STABLE
|
||||||
components: clippy
|
components: clippy
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
- name: Install SARIF tools
|
- name: Install SARIF tools
|
||||||
|
|
Loading…
Reference in a new issue