diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 679a5b6..deccfbf 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -50,6 +50,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - uses: actions/setup-java@v1 + if: matrix.language == 'java-kotlin' + with: + java-version: 17 + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3