OpenAPI 3.0.3 and 3.1 full support #10
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: Pode CI - pwsh 7.5 on windows-latest | |
on: | |
push: | |
branches: | |
- '*' | |
- '!gh-pages' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Install Invoke-Build | |
shell: pwsh | |
run: | | |
Install-Module -Name InvokeBuild -RequiredVersion '5.10.5' -Force | |
# For Windows | |
- name: Download and extract PowerShell 7.5 | |
run: | | |
Invoke-WebRequest -Uri "https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-preview.2/PowerShell-7.5.0-preview.2-win-x64.zip" -OutFile "PowerShell-7.5.x-win-x64.zip" | |
Expand-Archive -LiteralPath "PowerShell-7.5.x-win-x64.zip" -DestinationPath "C:\PowerShell-7.5" | |
- name: Check PowerShell version | |
run: | | |
C:\PowerShell-7.5\pwsh.exe -version | |
- name: Run Pester Tests | |
run: | | |
C:\PowerShell-7.5\pwsh.exe -Command { | |
Invoke-Build Test | |
} | |
- name: Test docker builds | |
run: | | |
C:\PowerShell-7.5\pwsh.exe -Command { | |
Invoke-Build DockerPack -Version '0.0.0' | |
} |