From 201e74f50d5c27ae83c5ce47f8e68f7cc4bffad1 Mon Sep 17 00:00:00 2001 From: Fabio Lima Date: Sat, 6 Jul 2024 23:40:06 -0300 Subject: [PATCH] Update codescan.yml Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-java@v3, github/codeql-action/upload-sarif@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/ --- .github/workflows/codescan.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codescan.yml b/.github/workflows/codescan.yml index 8adcfddb..91cf5363 100644 --- a/.github/workflows/codescan.yml +++ b/.github/workflows/codescan.yml @@ -18,9 +18,9 @@ jobs: steps: - name: Checkout on ${{ matrix.os }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up JDK ${{ matrix.java_version }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java_version }} distribution: 'temurin' @@ -28,12 +28,12 @@ jobs: - name: Build with Maven run: mvn -B -q -ff compile spotbugs:spotbugs pmd:pmd - name: Upload Spotbugs SARIF file - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: target/spotbugsSarif.json category: Spotbugs - name: Upload PMD SARIF file - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: target/pmd.sarif.json category: PMD