Skip to content

version bump to 0.6.0 #120

version bump to 0.6.0

version bump to 0.6.0 #120

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [ main ]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
name: Pester (${{ matrix.os }})
runs-on: ${{ matrix.os }}
# add job-scoped permissions needed for artifact upload
permissions:
contents: read
actions: write
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Run Pester
shell: pwsh
run: pwsh -NoProfile -File ./tools/run-tests.ps1 -CI
- name: Upload test results
if: always()
continue-on-error: true
uses: actions/upload-artifact@v4
with:
name: test-results-${{ matrix.os }}
path: artifacts/test-results.xml
docs-cmdlet-reference:
name: Verify cmdlet reference is up to date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install platyPS
shell: pwsh
run: |
Set-StrictMode -Version Latest
$ErrorActionPreference = 'Stop'
# Ensure PSGallery does not prompt (non-interactive CI)
if (Get-Command -Name Set-PSRepository -ErrorAction SilentlyContinue) {
try {
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted -ErrorAction Stop
} catch {
# Ignore if not supported in this environment
}
}
# platyPS is pinned for deterministic Markdown output.
# See CONTRIBUTING.md for upgrade procedure.
Install-Module -Name platyPS -RequiredVersion 0.14.2 -Scope CurrentUser -Force -AllowClobber -ErrorAction Stop
- name: Debug platyPS version
shell: pwsh
run: |
Get-Module -ListAvailable platyPS | Sort-Object Version -Descending | Select-Object -First 1 | Format-List Name,Version,Path
- name: Generate cmdlet reference
shell: pwsh
run: |
Set-StrictMode -Version Latest
$ErrorActionPreference = 'Stop'
pwsh -NoProfile -File ./tools/Generate-IdleCmdletReference.ps1
- name: Verify working tree clean
shell: bash
run: |
set -euo pipefail
echo "== git status =="
git status --porcelain || true
echo "== git diff (first 200 lines) =="
git diff | sed -n '1,200p' || true
git diff --exit-code
docs-step-reference:
name: Verify step reference is up to date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Generate step reference
shell: pwsh
run: |
Set-StrictMode -Version Latest
$ErrorActionPreference = 'Stop'
pwsh -NoProfile -File ./tools/Generate-IdleStepReference.ps1
- name: Verify working tree clean
shell: bash
run: |
set -euo pipefail
echo "== git status =="
git status --porcelain || true
echo "== git diff (first 200 lines) =="
git diff | sed -n '1,200p' || true
git diff --exit-code