You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2022/06/29 12:48:04 UTC

[commons-crypto] branch master updated: Try to get QL completing

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git


The following commit(s) were added to refs/heads/master by this push:
     new 8c16634  Try to get QL completing
8c16634 is described below

commit 8c1663479b5df3ee25cb7c30729930a48db9a99b
Author: Sebb <se...@apache.org>
AuthorDate: Wed Jun 29 13:47:57 2022 +0100

    Try to get QL completing
---
 .github/workflows/codeql-analysis.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index b16af88..109d7a7 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -43,6 +43,7 @@ jobs:
       fail-fast: false
       matrix:
         language: [ 'cpp', 'java' ]
+        java: [ 8 ]
         # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
         # Learn more about CodeQL language support at https://git.io/codeql-language-support
 
@@ -50,6 +51,15 @@ jobs:
     - name: Checkout repository
       uses: actions/checkout@v3
 
+    # Override Java default
+    # Java 11 complains about illegal access; drop this override when sorted
+    - name: Set up JDK ${{ matrix.java }}
+      if: ${{ matrix.language == 'java' }}
+      uses: actions/setup-java@v3
+      with:
+        distribution: 'temurin'
+        java-version: ${{ matrix.java }}
+
     # Initializes the CodeQL tools for scanning.
     - name: Initialize CodeQL
       uses: github/codeql-action/init@v2