Skip to content

feat: improve powershell-yaml check #394

feat: improve powershell-yaml check

feat: improve powershell-yaml check #394

Workflow file for this run

---
name: Pull Request Validator
on:
pull_request:
paths-ignore:
- '**.md'
- 'docs/**'
jobs:
test:
name: Build & Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
pwsh: ['7.1.3', '7.5.0']
steps:
- name: Check out repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
fetch-depth: 0
- name: Display the path
shell: pwsh
run: echo ${env:PATH}
- name: Version Display
shell: pwsh
run: $PSVersionTable
- name: Bootstrap
shell: pwsh
run: ./actions_bootstrap.ps1
- name: Test and Build
shell: pwsh
run: Invoke-Build -File .\src\ALZ.build.ps1
- name: Upload pester results
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: pester-results
path: .\src\Artifacts\testOutput
if-no-files-found: warn