Use java11 in codeql workflow
@@ -41,6 +41,11 @@ jobs:
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
+ - name: Setup Java
+ uses: actions/setup-java@v1
+ with:
+ java-version: 11
+
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
