|
11 | 11 | customManagers: [ |
12 | 12 | { |
13 | 13 | customType: 'regex', |
14 | | - fileMatch: [ |
15 | | - 'Cargo.toml$', |
| 14 | + managerFilePatterns: [ |
| 15 | + '/Cargo.toml$/', |
16 | 16 | ], |
17 | 17 | matchStrings: [ |
18 | 18 | '\\bMSRV:1\\b.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)', |
19 | 19 | '(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?\\bMSRV:1\\b', |
20 | 20 | ], |
21 | | - depNameTemplate: 'MSRV:1', // Support 1 version of rustc |
| 21 | + depNameTemplate: 'MSRV:1', |
22 | 22 | packageNameTemplate: 'rust-lang/rust', |
23 | 23 | datasourceTemplate: 'github-releases', |
24 | 24 | }, |
25 | 25 | { |
26 | 26 | customType: 'regex', |
27 | | - fileMatch: [ |
28 | | - 'Cargo.toml$', |
| 27 | + managerFilePatterns: [ |
| 28 | + '/Cargo.toml$/', |
29 | 29 | ], |
30 | 30 | matchStrings: [ |
31 | 31 | '\\bMSRV:3\\b.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)', |
32 | 32 | '(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?\\bMSRV:3\\b', |
33 | 33 | ], |
34 | | - depNameTemplate: 'MSRV:3', // Support 3 versions of rustc |
| 34 | + depNameTemplate: 'MSRV:3', |
35 | 35 | packageNameTemplate: 'rust-lang/rust', |
36 | 36 | datasourceTemplate: 'github-releases', |
37 | 37 | }, |
38 | 38 | { |
39 | 39 | customType: 'regex', |
40 | | - fileMatch: [ |
41 | | - '^.github.workflows.main.yml$', |
| 40 | + managerFilePatterns: [ |
| 41 | + '/^.github.workflows.main.yml$/', |
42 | 42 | ], |
43 | 43 | matchStrings: [ |
44 | 44 | 'cargo-semver-checks.releases.download.v(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)', |
|
57 | 57 | matchDepNames: [ |
58 | 58 | 'MSRV:1', |
59 | 59 | ], |
60 | | - extractVersion: '^(?<version>\\d+\\.\\d+)', // Drop the patch version |
| 60 | + extractVersion: '^(?<version>\\d+\\.\\d+)', |
61 | 61 | schedule: [ |
62 | 62 | '* * * * *', |
63 | 63 | ], |
|
71 | 71 | matchDepNames: [ |
72 | 72 | 'MSRV:3', |
73 | 73 | ], |
74 | | - extractVersion: '^(?<version>\\d+\\.\\d+)', // Drop the patch version |
| 74 | + extractVersion: '^(?<version>\\d+\\.\\d+)', |
75 | 75 | schedule: [ |
76 | 76 | '* * * * *', |
77 | 77 | ], |
78 | | - minimumReleaseAge: '85 days', // 2 releases back * 6 weeks per release * 7 days per week + 1 |
| 78 | + minimumReleaseAge: '85 days', |
79 | 79 | internalChecksFilter: 'strict', |
80 | 80 | groupName: 'msrv', |
81 | 81 | }, |
|
93 | 93 | ], |
94 | 94 | internalChecksFilter: 'strict', |
95 | 95 | }, |
96 | | - // Goals: |
97 | | - // - Rollup safe upgrades to reduce CI runner load |
98 | | - // - Have lockfile and manifest in-sync (implicit rules) |
99 | 96 | { |
100 | 97 | matchManagers: [ |
101 | 98 | 'cargo', |
|
0 commit comments