From 90cc57d463712322d1e10db63644fe87bcfa30a1 Mon Sep 17 00:00:00 2001 From: Frode Flaten <3436158+fflaten@users.noreply.github.com> Date: Sat, 6 Apr 2024 20:49:31 +0200 Subject: [PATCH] Update code-analysis workflow to node20 actions (#2429) Dependencies used node16 which is EOL and deprecated in Github Actions. Bumped steps to use updated actions --- .github/workflows/code-analysis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/code-analysis.yml b/.github/workflows/code-analysis.yml index 38f91da1a..f07dd302e 100644 --- a/.github/workflows/code-analysis.yml +++ b/.github/workflows/code-analysis.yml @@ -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 @@ -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: