Skip to content

Commit 9d559c2

Browse files
Moved CodeQL Actions to Java 21 build
1 parent 8e55f1e commit 9d559c2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
steps:
2020
- name: Checkout Sources
2121
uses: actions/checkout@v4
22+
- name: Initialize CodeQL
23+
uses: github/codeql-action/init@v3
24+
with:
25+
languages: java
2226
- name: Setup Java JDK
2327
uses: actions/setup-java@v4
2428
with:
@@ -27,6 +31,8 @@ jobs:
2731
cache: 'maven'
2832
- name: Build
2933
run: ./mvnw --batch-mode --update-snapshots verify
34+
- name: Perform CodeQL Analysis
35+
uses: github/codeql-action/analyze@v3
3036
- name: Codecov
3137
uses: codecov/codecov-action@v4
3238
with:
@@ -37,10 +43,6 @@ jobs:
3743
steps:
3844
- name: Checkout Sources
3945
uses: actions/checkout@v4
40-
- name: Initialize CodeQL
41-
uses: github/codeql-action/init@v3
42-
with:
43-
languages: java
4446
- name: Setup Java JDK
4547
uses: actions/setup-java@v4
4648
with:
@@ -49,8 +51,6 @@ jobs:
4951
cache: 'maven'
5052
- name: Build
5153
run: ./mvnw --batch-mode --update-snapshots verify
52-
- name: Perform CodeQL Analysis
53-
uses: github/codeql-action/analyze@v3
5454
build-java-11:
5555
runs-on: ubuntu-latest
5656
name: Java 11

0 commit comments

Comments
 (0)