Skip to content

Commit

Permalink
Update code-analysis workflow to node20 actions (#2429)
Browse files Browse the repository at this point in the history
Dependencies used node16 which is EOL and
deprecated in Github Actions. Bumped steps to
use updated actions
  • Loading branch information
fflaten authored Apr 6, 2024
1 parent acc66a9 commit 90cc57d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
steps:
# Checkout the repository to the GitHub Actions runner
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: PowerShell Module Cache
uses: potatoqualitee/psmodulecache@v5.2
uses: potatoqualitee/psmodulecache@v6.2
with:
modules-to-cache: PSScriptAnalyzer, ConvertToSARIF:1.0.0

Expand All @@ -37,7 +37,7 @@ jobs:
# Upload the SARIF file generated in the previous step
- name: Upload SARIF results file
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
# codeql:
Expand Down

0 comments on commit 90cc57d

Please sign in to comment.