Skip to content

Commit 10c94dd

Browse files
authored
chore(deps): automate update of java formatter (#817)
1 parent 9679625 commit 10c94dd

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

Diff for: renovate.json

+29
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,35 @@
4949
"\\s\"(?<depName>.*?)\": \"(?<currentValue>.*?)\",?\\s"
5050
],
5151
"datasourceTemplate": "npm"
52+
},
53+
{
54+
"description": "Update the java formatter",
55+
"fileMatch": [
56+
"Dockerfile",
57+
".github/actions/setup/action.yml"
58+
],
59+
"matchStrings": [
60+
"https://github.com/google/google-java-format/releases/download/v(?<currentValue>.*?)/google-java-format-(?<currentValue>.*?)-all-deps.jar"
61+
],
62+
"depNameTemplate": "google/google-java-format",
63+
"datasourceTemplate": "github-releases"
64+
},
65+
{
66+
"description": "Update java packages in mustache files",
67+
"fileMatch": "build.mustache",
68+
"matchStrings": [
69+
"testImplementation '(?<depName>.*):(?<currentValue>\\d.*?)'"
70+
],
71+
"datasourceTemplate": "maven"
72+
},
73+
{
74+
"description": "Update yarn version (won't work because we need to download the script but gives an alert at least)",
75+
"fileMatch": ".yarnrc.yml",
76+
"matchStrings": [
77+
"yarnPath: .yarn/releases/yarn-(?<currentValue>.*?).cjs"
78+
],
79+
"depNameTemplate": "yarnpkg/berry",
80+
"datasourceTemplate": "github-releases"
5281
}
5382
],
5483
"ignorePaths": [

0 commit comments

Comments
 (0)