Skip to content

Commit

Permalink
fix: Update action file to resolve warnings and upcoming deprecations (
Browse files Browse the repository at this point in the history
…#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
  • Loading branch information
molson504x authored Sep 11, 2024
1 parent 0020494 commit 0cea8da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.*

0 comments on commit 0cea8da

Please sign in to comment.