Skip to content

Commit fb3f3b1

Browse files
committed
style: apply formatting conventions
1 parent 14058fd commit fb3f3b1

7 files changed

Lines changed: 115 additions & 124 deletions

File tree

.github/renovate.json5

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,55 +8,52 @@
88
// use chore for test-only Gradle dependencies (Gradle manager does not make a distinction based on configurations)
99
":pathSemanticCommitType(gradle/test-libs.versions.toml,chore)",
1010
],
11-
labels: [
12-
"renovate",
13-
"renovate/{{updateType}}",
14-
],
11+
labels: ["renovate", "renovate/{{updateType}}"],
1512
packageRules: [
1613
// group wetransform convention plugins
1714
{
18-
"groupName": "wetransform Gradle conventions",
19-
"groupSlug": "wetf-gradle-conventions",
20-
"matchDatasources": ["maven"],
21-
"matchDepNames": ["/^to\.wetransform\.(settings|conventions).*$/"]
22-
}
15+
groupName: "wetransform Gradle conventions",
16+
groupSlug: "wetf-gradle-conventions",
17+
matchDatasources: ["maven"],
18+
matchDepNames: ["/^to\.wetransform\.(settings|conventions).*$/"],
19+
},
2320
],
2421
customManagers: [
2522
{
2623
description: "Update semantic-release in GitHub Action workflows",
2724
customType: "regex",
2825
managerFilePatterns: [
29-
"/(^workflow-templates|\\.github/(actions|workflows))\\/.+\\.ya?ml$/"
26+
"/(^workflow-templates|\\.github/(actions|workflows))\\/.+\\.ya?ml$/",
3027
],
3128
matchStrings: [
32-
"semantic_version\\s*:\\s*(\"|')?(?<currentValue>.+)(\"|')?(\\s+|\\s+.*)"
29+
"semantic_version\\s*:\\s*(\"|')?(?<currentValue>.+)(\"|')?(\\s+|\\s+.*)",
3330
],
3431
datasourceTemplate: "npm",
35-
depNameTemplate: "semantic-release"
32+
depNameTemplate: "semantic-release",
3633
},
3734
{
3835
description: "Any other workflows related file with dependencies",
3936
customType: "regex",
4037
managerFilePatterns: [
41-
"/(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$/"
38+
"/(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$/",
4239
],
4340
matchStrings: [
44-
"\
41+
'\
4542
.*renovate:\
4643
\\sdatasource=(?<datasource>.*?)\
4744
\\sdepName=(?<depName>.*?)\
4845
(\\sversioning=(?<versioning>.*?))?\
49-
\n.*(version|Version|VERSION)\\s*(:=|=|:)\\s*\"?(?<currentValue>.*?)\
50-
(@(?<currentDigest>sha256:[a-f0-9]+))?\"?\
51-
(\\s+|\\s+.*)"
46+
\n.*(version|Version|VERSION)\\s*(:=|=|:)\\s*"?(?<currentValue>.*?)\
47+
(@(?<currentDigest>sha256:[a-f0-9]+))?"?\
48+
(\\s+|\\s+.*)',
5249
],
5350
versioningTemplate: "\
5451
{{#if versioning}}\
5552
{{{versioning}}}\
5653
{{else}}\
5754
semver-coerced\
58-
{{/if}}"
55+
{{/if}}",
5956
},
6057
],
61-
separateMinorPatch: false
58+
separateMinorPatch: false,
6259
}

.github/workflows/check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ jobs:
2121
- name: Build and test with Gradle
2222
env:
2323
# CI marker
24-
CI: 'true'
24+
CI: "true"
2525
run: ./gradlew clean check
2626

2727
# https://github.com/marketplace/actions/junit-report-action
2828
- name: Publish Test Report
2929
uses: mikepenz/action-junit-report@49b2ca06f62aa7ef83ae6769a2179271e160d8e4 # v6.3.1
3030
if: always() # always run even if the previous step fails
3131
with:
32-
report_paths: 'build/test-results/**/*.xml'
32+
report_paths: "build/test-results/**/*.xml"
3333
require_tests: true
3434

3535
annotate_only: true

.github/workflows/commits.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Check commit conventions
44
on:
55
pull_request:
66
branches:
7-
- '*'
7+
- "*"
88

99
jobs:
1010
verify-commits:

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,10 @@ jobs:
3636
# cat <(echo -e "${{ secrets.SONATYE_PGP_PRIVATE_KEY }}") | gpg --batch --import
3737
# # Verify gpg secret key
3838
# gpg --list-secret-keys --keyid-format LONG
39-
4039
- name: Build and publish with Gradle
4140
env:
4241
# CI marker
43-
CI: 'true'
42+
CI: "true"
4443

4544
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
4645
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
@@ -60,7 +59,7 @@ jobs:
6059
uses: mikepenz/action-junit-report@49b2ca06f62aa7ef83ae6769a2179271e160d8e4 # v6.3.1
6160
if: always() # always run even if the previous step fails
6261
with:
63-
report_paths: 'build/test-results/**/*.xml'
62+
report_paths: "build/test-results/**/*.xml"
6463
require_tests: true # currently no tests present
6564

6665
annotate_only: true

.github/workflows/release.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
uses: mikepenz/action-junit-report@49b2ca06f62aa7ef83ae6769a2179271e160d8e4 # v6.3.1
6565
if: always() # always run even if the previous step fails
6666
with:
67-
report_paths: 'build/test-results/**/*.xml'
67+
report_paths: "build/test-results/**/*.xml"
6868
require_tests: true # currently no tests present
6969

7070
annotate_only: true
@@ -96,7 +96,7 @@ jobs:
9696
# For Gradle execution
9797

9898
# CI marker
99-
CI: 'true'
99+
CI: "true"
100100

101101
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
102102
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
@@ -111,13 +111,12 @@ jobs:
111111
dry_run: ${{ inputs.dryRun }}
112112
semantic_version: 25.0.3
113113

114-
extra_plugins:
115-
"@semantic-release/changelog@\
116-
${{ env.SEMANTIC_RELEASE_CHANGELOG_VERSION }} \
117-
@semantic-release/exec@\
118-
${{ env.SEMANTIC_RELEASE_EXEC_VERSION }} \
119-
@semantic-release/git@\
120-
${{ env.SEMANTIC_RELEASE_GIT_VERSION }} \
121-
conventional-changelog-conventionalcommits@\
122-
${{ env.CONVENTIONAL_CHANGELOG_CONVENTIONALCOMMITS_VERSION }} \
123-
"
114+
extra_plugins: "@semantic-release/changelog@\
115+
${{ env.SEMANTIC_RELEASE_CHANGELOG_VERSION }} \
116+
@semantic-release/exec@\
117+
${{ env.SEMANTIC_RELEASE_EXEC_VERSION }} \
118+
@semantic-release/git@\
119+
${{ env.SEMANTIC_RELEASE_GIT_VERSION }} \
120+
conventional-changelog-conventionalcommits@\
121+
${{ env.CONVENTIONAL_CHANGELOG_CONVENTIONALCOMMITS_VERSION }} \
122+
"

0 commit comments

Comments
 (0)