Skip to content

Commit 8e3bc46

Browse files
committed
fix
1 parent fbc681e commit 8e3bc46

File tree

1 file changed

+7
-20
lines changed

1 file changed

+7
-20
lines changed

.github/workflows/codeql.yml

+7-20
Original file line numberDiff line numberDiff line change
@@ -45,28 +45,15 @@ jobs:
4545
uses: github/codeql-action/init@v3
4646
with:
4747
languages: ${{ matrix.language }}
48-
# If you wish to specify custom queries, you can do so here or in a config file.
49-
# By default, queries listed here will override any specified in a config file.
50-
# Prefix the list here with "+" to use these queries and those in the config file.
5148

52-
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
53-
# queries: security-extended,security-and-quality
54-
55-
56-
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
57-
# If this step fails, then you should remove it and run the build manually (see below)
58-
- name: Autobuild
59-
uses: github/codeql-action/autobuild@v3
60-
61-
# ℹ️ Command-line programs to run using the OS shell.
62-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
63-
64-
# If the Autobuild fails above, remove it and uncomment the following three lines.
65-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
49+
- name: Set up JDK
50+
uses: actions/setup-java@v4
51+
with:
52+
java-version: 21
53+
distribution: 'temurin'
6654

67-
# - run: |
68-
# echo "Run, Build Application using script"
69-
# ./location_of_script_within_repo/buildscript.sh
55+
- name: Build with Maven
56+
run: mvn -B package --file pom.xml
7057

7158
- name: Perform CodeQL Analysis
7259
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)