From ba6bd972ac18345bb5d4ac7ae8ddd2d24e258972 Mon Sep 17 00:00:00 2001 From: Joep de Jong Date: Thu, 9 May 2024 21:11:32 +0200 Subject: [PATCH 1/2] Setup java 17 for codeql --- .github/workflows/codeql-analysis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6c374a5e..f38b86b9 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -11,6 +11,11 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + - name: Setup JDK + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '17' - name: Initialize CodeQL uses: github/codeql-action/init@v2 - name: Autobuild From d8db0f9cb7e997d19142a5896ecaf6c2baeaa83b Mon Sep 17 00:00:00 2001 From: Joep de Jong Date: Thu, 9 May 2024 21:15:17 +0200 Subject: [PATCH 2/2] Update codeql workflow versions --- .github/workflows/codeql-analysis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f38b86b9..f4e6e787 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -10,15 +10,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup JDK uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: '17' - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3