Skip to content

Commit

Permalink
fix(CI): Fixed JDK version in CodeQL action
Browse files Browse the repository at this point in the history
  • Loading branch information
SaptarshiSarkar12 authored Feb 15, 2024
1 parent 902977b commit f5c3fd2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,15 @@ jobs:

# For more 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
# queries: security-extended,security-and-quality
- name: Setup JDK 21
if: ${{ matrix.language == 'java-kotlin' }}
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: 21

- name: Build with Maven
if: ${{ matrix.language == 'java-kotlin' }}
run: mvn install

- name: Perform CodeQL Analysis
Expand Down

0 comments on commit f5c3fd2

Please sign in to comment.