Skip to content

ci: pin third-party actions to commit SHAs #34

ci: pin third-party actions to commit SHAs

ci: pin third-party actions to commit SHAs #34

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- name: Install workflow validator dependency
run: python -m pip install --disable-pip-version-check PyYAML==6.0.2
- name: Validate workflow YAML
run: python tests/validate_workflows.py
- name: Validate control-plane contracts
shell: pwsh
run: ./tests/contract-tests.ps1
- name: Run Pester unit tests
shell: pwsh
run: |
Set-PSRepository PSGallery -InstallationPolicy Trusted
Install-Module Pester -MinimumVersion 5.5.0 -Scope CurrentUser -Force -SkipPublisherCheck
$config = New-PesterConfiguration
$config.Run.Path = './tests'
$config.Run.Exit = $true
$config.Output.Verbosity = 'Detailed'
Invoke-Pester -Configuration $config