Skip to content

Commit 875d7ee

Browse files
committed
Setup Maven Action
1 parent 5b1ed0b commit 875d7ee

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/codeql-analysis.yml

+11-3
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,25 @@ jobs:
2424
# step 1
2525
- name: "Checkout"
2626
uses: actions/checkout@v3
27+
# step 2
28+
- name: Setup Maven Action
29+
30+
with:
31+
checkout-fetch-depth: 0
32+
java-version: 8
33+
java-distribution: temurin
34+
maven-version: 3.8.7
2735

28-
# step 2: Initializes the CodeQL tools for scanning.
36+
# step 3: Initializes the CodeQL tools for scanning.
2937
- name: "Initialize CodeQL"
3038
uses: github/codeql-action/init@v3
3139
with:
3240
languages: ${{ matrix.language }}
3341

3442
- run: ./mvnw -T 4C clean install -DskipTests
3543

36-
# step 3
44+
# step 4
3745
- name: "Perform CodeQL Analysis"
3846
uses: github/codeql-action/analyze@v3
3947
with:
40-
category: "/language:${{matrix.language}}"
48+
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)