Add github issue templates #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
windows-powershell-legacy: | |
name: Windows PowerShell 5.1 | |
runs-on: windows-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Install and cache PowerShell modules | |
uses: potatoqualitee/[email protected] | |
with: | |
shell: powershell | |
updatable: true | |
modules-to-cache: "InvokeBuild::, InvokeBuildHelper::, Pester:4.10.1" | |
- name: Build the PowerShell module assemblies | |
shell: powershell | |
run: | | |
Invoke-BuildIsolated -Task 'Build' -PesterVersion v4 | |
- name: Run PowerShell module Schema tests | |
shell: powershell | |
run: | | |
Invoke-BuildIsolated -Task 'SchemaTest' -PesterVersion v4 | |
- name: Run PowerShell module Unit tests | |
shell: powershell | |
run: | | |
Invoke-BuildIsolated -Task 'UnitTest' -PesterVersion v4 | |
- name: Run PowerShell module Analyzer tests | |
shell: powershell | |
run: | | |
Invoke-BuildIsolated -Task 'AnalyzerTest' -PesterVersion v4 |