Skip to content

Commit 81d9154

Browse files
authored
Merge pull request #183 from xdev-software/develop
Release
2 parents e2570be + b7da700 commit 81d9154

File tree

17 files changed

+59
-65
lines changed

17 files changed

+59
-65
lines changed

.config/pmd/ruleset.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,5 +151,12 @@
151151
<exclude name="UseStringBufferForStringAppends"/>
152152
</rule>
153153

154+
<rule ref="category/java/performance.xml/TooFewBranchesForSwitch">
155+
<properties>
156+
<!-- If you have one case only please use a if -->
157+
<property name="minimumNumberCaseForASwitch" value="2"/>
158+
</properties>
159+
</rule>
160+
154161
<rule ref="category/java/security.xml"/>
155162
</ruleset>

.github/workflows/broken-links.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@ permissions:
1111
jobs:
1212
link-checker:
1313
runs-on: ubuntu-latest
14+
timeout-minutes: 15
1415
steps:
1516
- uses: actions/checkout@v4
1617

1718
- run: mv .github/.lycheeignore .lycheeignore
1819

1920
- name: Link Checker
2021
id: lychee
21-
uses: lycheeverse/lychee-action@v1
22+
uses: lycheeverse/lychee-action@v2
23+
with:
24+
fail: false # Don't fail on broken links, create an issue instead
2225

2326
- name: Find already existing issue
2427
id: find-issue

.github/workflows/check-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ on:
2222
jobs:
2323
build:
2424
runs-on: ubuntu-latest
25+
timeout-minutes: 30
2526

2627
strategy:
2728
matrix:
@@ -76,6 +77,7 @@ jobs:
7677
checkstyle:
7778
runs-on: ubuntu-latest
7879
if: ${{ github.event_name != 'pull_request' || !startsWith(github.head_ref, 'renovate/') }}
80+
timeout-minutes: 15
7981

8082
strategy:
8183
matrix:
@@ -98,6 +100,7 @@ jobs:
98100
pmd:
99101
runs-on: ubuntu-latest
100102
if: ${{ github.event_name != 'pull_request' || !startsWith(github.head_ref, 'renovate/') }}
103+
timeout-minutes: 15
101104

102105
strategy:
103106
matrix:

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ permissions:
99
pull-requests: write
1010

1111
jobs:
12-
check_code: # Validates the code
12+
check_code:
1313
runs-on: ubuntu-latest
14+
timeout-minutes: 30
1415
steps:
1516
- uses: actions/checkout@v4
1617

@@ -45,6 +46,7 @@ jobs:
4546
prepare_release:
4647
runs-on: ubuntu-latest
4748
needs: [check_code]
49+
timeout-minutes: 10
4850
outputs:
4951
upload_url: ${{ steps.create_release.outputs.upload_url }}
5052
steps:
@@ -99,6 +101,7 @@ jobs:
99101
publish:
100102
runs-on: ubuntu-latest
101103
needs: [prepare_release]
104+
timeout-minutes: 60
102105
steps:
103106
- uses: actions/checkout@v4
104107

@@ -132,6 +135,7 @@ jobs:
132135
after_release:
133136
runs-on: ubuntu-latest
134137
needs: [publish]
138+
timeout-minutes: 10
135139
steps:
136140
- uses: actions/checkout@v4
137141

.github/workflows/sonar.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
token-check:
2828
runs-on: ubuntu-latest
2929
if: ${{ !(github.event_name == 'pull_request' && startsWith(github.head_ref, 'renovate/')) }}
30+
timeout-minutes: 5
3031
outputs:
3132
hasToken: ${{ steps.check-token.outputs.has }}
3233
steps:
@@ -40,6 +41,7 @@ jobs:
4041
runs-on: ubuntu-latest
4142
needs: token-check
4243
if: ${{ needs.token-check.outputs.hasToken }}
44+
timeout-minutes: 30
4345
steps:
4446
- uses: actions/checkout@v4
4547
with:
@@ -67,7 +69,7 @@ jobs:
6769

6870
- name: Build
6971
run: |
70-
./gradlew build sonarqube --info \
72+
./gradlew build sonarqube -x test --info \
7173
-Dsonar.projectKey=${{ env.SONARCLOUD_ORG }}_${{ github.event.repository.name }} \
7274
-Dsonar.organization=${{ env.SONARCLOUD_ORG }} \
7375
-Dsonar.host.url=${{ env.SONARCLOUD_HOST }}

.github/workflows/sync-labels.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ permissions:
1414
jobs:
1515
labels:
1616
runs-on: ubuntu-latest
17+
timeout-minutes: 10
1718
steps:
1819
- uses: actions/checkout@v4
1920
with:

.github/workflows/test-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
jobs:
77
publish:
88
runs-on: ubuntu-latest
9+
timeout-minutes: 60
910
steps:
1011
- uses: actions/checkout@v4
1112

.github/workflows/update-from-template.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ permissions:
3131
jobs:
3232
update:
3333
runs-on: ubuntu-latest
34+
timeout-minutes: 60
3435
outputs:
3536
update_branch_merged_commit: ${{ steps.manage-branches.outputs.update_branch_merged_commit }}
3637
create_update_branch_merged_pr: ${{ steps.manage-branches.outputs.create_update_branch_merged_pr }}
@@ -180,6 +181,7 @@ jobs:
180181
needs: [update]
181182
if: needs.update.outputs.create_update_branch_merged_pr == 1
182183
runs-on: ubuntu-latest
184+
timeout-minutes: 60
183185
steps:
184186
- uses: actions/checkout@v4
185187
with:

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ plugins {
88
}
99

1010
ext {
11-
checkstyleVersion = '10.18.1'
12-
pmdVersion = '7.5.0'
11+
checkstyleVersion = '10.20.1'
12+
pmdVersion = '7.7.0'
1313
}
1414

1515
def properties(String key) {
@@ -58,7 +58,7 @@ dependencies {
5858
checkstyle "com.puppycrawl.tools:checkstyle:${checkstyleVersion}"
5959
pmd "net.sourceforge.pmd:pmd-ant:${pmdVersion}",
6060
"net.sourceforge.pmd:pmd-java:${pmdVersion}"
61-
testImplementation platform('org.junit:junit-bom:5.11.1'),
61+
testImplementation platform('org.junit:junit-bom:5.11.3'),
6262
'org.junit.jupiter:junit-jupiter',
6363
'org.junit.jupiter:junit-jupiter-engine',
6464
'org.assertj:assertj-core:3.26.3'

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
pluginGroup=software.xdev.saveactions
33
pluginName=Save Actions X
44
# SemVer format -> https://semver.org
5-
pluginVersion=1.3.2-SNAPSHOT
5+
pluginVersion=1.4.0-SNAPSHOT
66
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
77
platformType=IC
8-
platformVersion=2024.2.2
9-
platformSinceBuild=242
8+
platformVersion=243.21565.23
9+
platformSinceBuild=243
1010
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
1111
# Example: platformBundledPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
1212
platformBundledPlugins=com.intellij.java

0 commit comments

Comments
 (0)