Skip to content

Commit 4fc26fb

Browse files
Use proper java versions and checkout action
1 parent 3f08da1 commit 4fc26fb

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,12 @@ jobs:
5151
name: "QA Tests ${{ matrix.item.name }}"
5252
steps:
5353
- name: Checkout repository
54-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
54+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5555
with:
5656
submodules: recursive
5757
- uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd # v3.2.0
5858
with:
59+
working-directory: its/ruling
5960
version: 2025.7.12
6061
- name: Get GitHub Token for QA Licenses
6162
id: secrets
@@ -74,13 +75,13 @@ jobs:
7475
VERSION=$(.github/scripts/resolve-sonar-java-plugin-version.sh "${{ matrix.item.java_plugin_version }}")
7576
echo "version=${VERSION}" >> $GITHUB_OUTPUT
7677
- name: Run QA Tests
78+
working-directory: its/ruling
7779
env:
7880
GITHUB_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).GITHUB_TOKEN }}
7981
BUILD_NUMBER: ${{ needs.build.outputs.build-number }}
8082
MAVEN_OPTS: "-Xmx3g"
8183
SONAR_JAVA_VERSION: ${{ steps.resolve-sonar-java-plugin-version.outputs.version }}
8284
run: |
83-
cd its/ruling
8485
mvn package --batch-mode \
8586
"-Pit-ruling,${{ matrix.item.profile }}" \
8687
"-Dsonar.java.version=${SONAR_JAVA_VERSION}" \

its/ruling/mise.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tools]
2+
java = "17.0"

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[tools]
2-
java = "17.0"
2+
java = "23"
33
maven = "3.9"

0 commit comments

Comments
 (0)