Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
# Checkout repository (fetch full history + tags for Git-tagging tests)
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0 # required so HEAD~1..HEAD and tag lookups work
fetch-tags: true # required so `git tag --points-at HEAD` can see tags
Expand Down Expand Up @@ -83,15 +83,15 @@ jobs:
# Upload the Pester XML only if it exists to avoid artifact warnings.
- name: Upload Pester results (XML)
if: ${{ always() && hashFiles('out/testResults.xml') != '' }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: TestResults-${{ runner.os }}
path: out/testResults.xml

# Upload the full Pester console log (always useful for debugging)
- name: Upload Pester console log
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: TestConsole-${{ runner.os }}
path: out/pester-console.txt
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
steps:
# Checkout repository (fetch full history + tags; required for tag-aware tests and packaging)
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
Expand Down Expand Up @@ -186,14 +186,14 @@ jobs:
# Upload artifacts for the publish job as well (conditional XML upload)
- name: Upload Pester results (XML)
if: ${{ always() && hashFiles('out/testResults.xml') != '' }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: TestResults-publish
path: out/testResults.xml

- name: Upload Pester console log
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: TestConsole-publish
path: out/pester-console.txt
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/devskim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: Run DevSkim scanner
uses: microsoft/DevSkim-Action@v1

- name: Upload DevSkim scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: devskim-results.sarif
4 changes: 2 additions & 2 deletions .github/workflows/powershell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: Run PSScriptAnalyzer
uses: microsoft/[email protected]
Expand All @@ -40,6 +40,6 @@ jobs:
output: results.sarif

- name: Upload SARIF results file
uses: github/codeql-action/upload-sarif@v3
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: results.sarif
Loading