Skip to content

Commit dac09f3

Browse files
committed
github: Update CodeQL workflow
1 parent aae0d6b commit dac09f3

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,20 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
42+
43+
- name: Setup Java
44+
uses: actions/setup-java@v4
45+
with:
46+
distribution: 'temurin'
47+
java-version: |
48+
8
49+
22
50+
cache: 'maven'
4251

4352
# Initializes the CodeQL tools for scanning.
4453
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v2
54+
uses: github/codeql-action/init@v3
4655
with:
4756
languages: ${{ matrix.language }}
4857
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -54,7 +63,7 @@ jobs:
5463

5564
- run: |
5665
echo "Build kohlschutter-parent with Maven"
57-
mvn clean install -Pstrict -Puse-snapshots
66+
mvn clean install -Dcodeql -Dstrict -Duse-snapshots
5867
5968
- name: Perform CodeQL Analysis
60-
uses: github/codeql-action/analyze@v2
69+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)