Skip to content

Commit 779496b

Browse files
committed
chore(ci): Run the latest clippy
1 parent 4db293d commit 779496b

File tree

2 files changed

+36
-3
lines changed

2 files changed

+36
-3
lines changed

.github/renovate.json5

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,25 @@
2121
'MSRV.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
2222
'(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?MSRV',
2323
],
24-
depNameTemplate: 'rust',
24+
depNameTemplate: 'MSRV',
25+
packageNameTemplate: 'rust-lang/rust',
26+
datasourceTemplate: 'github-releases',
27+
},
28+
{
29+
customType: 'regex',
30+
fileMatch: [
31+
'^rust-toolchain\\.toml$',
32+
'Cargo.toml$',
33+
'clippy.toml$',
34+
'\\.clippy.toml$',
35+
'^\\.github/workflows/ci.yml$',
36+
'^\\.github/workflows/rust-next.yml$',
37+
],
38+
matchStrings: [
39+
'STABLE.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
40+
'(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?STABLE',
41+
],
42+
depNameTemplate: 'STABLE',
2543
packageNameTemplate: 'rust-lang/rust',
2644
datasourceTemplate: 'github-releases',
2745
},
@@ -33,14 +51,29 @@
3351
'custom.regex',
3452
],
3553
matchPackageNames: [
36-
'rust',
54+
'MSRV',
3755
],
3856
minimumReleaseAge: '336 days', // 8 releases * 6 weeks per release * 7 days per week
3957
internalChecksFilter: 'strict',
4058
extractVersion: '^(?<version>\\d+\\.\\d+)', // Drop the patch version
4159
schedule: [
4260
'* * * * *',
4361
],
62+
groupName: 'rust-version',
63+
},
64+
{
65+
commitMessageTopic: 'STABLE',
66+
matchManagers: [
67+
'custom.regex',
68+
],
69+
matchPackageNames: [
70+
'STABLE',
71+
],
72+
extractVersion: '^(?<version>\\d+\\.\\d+)', // Drop the patch version
73+
schedule: [
74+
'* * * * *',
75+
],
76+
groupName: 'rust-version',
4477
},
4578
// Goals:
4679
// - Keep version reqs low, ignoring compatible normal/build dependencies

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
- name: Install Rust
125125
uses: dtolnay/rust-toolchain@stable
126126
with:
127-
toolchain: "1.65.0" # MSRV
127+
toolchain: "1.76" # STABLE
128128
components: clippy
129129
- uses: Swatinem/rust-cache@v2
130130
- name: Install SARIF tools

0 commit comments

Comments
 (0)