Skip to content

Commit 1f8155c

Browse files
authored
GitHub Actions upgrades and improvements (#4422)
* Use Maven 3.9.9 * Use Ubuntu 24.04 * Verify there are no changed files Signed-off-by: Wouter Born <[email protected]>
1 parent a22349a commit 1f8155c

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.github/workflows/ci-build.yml

+14-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
java: [ '17', '21', 'profile-j21' ]
22-
maven: [ '3.9.6' ]
23-
os: [ 'ubuntu-22.04' ]
22+
maven: [ '3.9.9' ]
23+
os: [ 'ubuntu-24.04' ]
2424
name: Build (Java ${{ matrix.java }}, ${{ matrix.os }})
2525
runs-on: ${{ matrix.os }}
2626
steps:
@@ -112,3 +112,15 @@ jobs:
112112
title: CheckStyle Violations
113113
path: '**/checkstyle-result.xml'
114114
mode: inline
115+
116+
- name: Verify Changed Files
117+
uses: tj-actions/verify-changed-files@v20
118+
id: verify-changed-files
119+
120+
- name: Fail on Changed Files
121+
if: steps.verify-changed-files.outputs.changed_files != ''
122+
env:
123+
CHANGED_FILES: ${{ steps.verify-changed-files.outputs.changed_files }}
124+
run: |
125+
echo "::error::Files have changed: $CHANGED_FILES"
126+
exit 1

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ bin/
66
.metadata/
77
*/plugin.xml_gen
88
.DS_Store
9+
build.log
910
*.iml
1011
.idea/
1112
.gradle/

0 commit comments

Comments
 (0)