From 0cea8da09e19f93630ea00481774f7ae00f5c67a Mon Sep 17 00:00:00 2001 From: Matt Olson <4873425+molson504x@users.noreply.github.com> Date: Wed, 11 Sep 2024 07:05:34 -0400 Subject: [PATCH] fix: Update action file to resolve warnings and upcoming deprecations (#333) * Update node version to 20 and use codeql-action v3 for SARIF upload * Update node version to 20 and use codeql-action v4 for SARIF upload --- action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 3450d47f..079f23d9 100644 --- a/action.yml +++ b/action.yml @@ -69,9 +69,9 @@ runs: shell: bash run: | echo "${{ inputs.ignore-policies }}" > "${GITHUB_ACTION_PATH}/ignored-policies" - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: '16' + node-version: '20' - id: analyze shell: bash @@ -95,13 +95,13 @@ runs: - name: "Upload SARIF as Code Scanning Results" if: ${{ inputs.upload_code_scanning == 'true' }} continue-on-error: true - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: legitify-output.sarif category: "legitify-report" - name: "Upload outputs as Workflow Artifacts" if: ${{ steps.analyze.outputs.is_private == 'true' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.artifact_name }} path: legitify-output.*