@@ -31,25 +31,30 @@ jobs:
3131 # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
3232
3333 steps :
34- - name : Checkout repository
35- uses : actions/checkout@v2
34+ - name : Checkout repository
35+ uses : actions/checkout@v2
36+
37+ # Install and setup JDK 17
38+ - name : Setup JDK 17
39+ uses : actions/setup-java@v2
40+ with :
41+ distribution : ' temurin'
42+ java-version : ' 17'
3643
37- # Install and setup JDK 25
38- - name : Setup JDK 25
39- uses : actions/setup-java@v2
40- with :
41- distribution : ' temurin'
42- java-version : ' 25'
44+ # Initializes the CodeQL tools for scanning.
45+ - name : Initialize CodeQL
46+ uses : github/codeql-action/init@v4
47+ with :
48+ languages : ${{ matrix.language }}
49+ # If you wish to specify custom queries, you can do so here or in a config file.
50+ # By default, queries listed here will override any specified in a config file.
51+ # Prefix the list here with "+" to use these queries and those in the config file.
52+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
4353
44- # Initializes the CodeQL tools for scanning.
45- - name : Initialize CodeQL
46- uses : github/codeql-action/init@v4
47- with :
48- languages : ${{ matrix.language }}
49- # If you wish to specify custom queries, you can do so here or in a config file.
50- # By default, queries listed here will override any specified in a config file.
51- # Prefix the list here with "+" to use these queries and those in the config file.
52- # queries: ./path/to/local/query, your-org/your-repo/queries@main
54+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55+ # If this step fails, then you should remove it and run the build manually (see below)
56+ - name : Autobuild
57+ uses : github/codeql-action/autobuild@v4
5358
5459 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5560 # If this step fails, then you should remove it and run the build manually (see below)
6368 # and modify them (or add more) to build your code if your project
6469 # uses a compiled language
6570
66- # - run: |
67- # make bootstrap
68- # make release
69-
70- - name : Perform CodeQL Analysis
71- uses : github/codeql-action/analyze@v4
71+ - name : Perform CodeQL Analysis
72+ uses : github/codeql-action/analyze@v4
0 commit comments