Skip to content

Commit

Permalink
Update code-analysis workflow to node20 actions
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 committed Apr 3, 2024
1 parent acc66a9 commit 338654d
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 338654d

Please sign in to comment.