Skip to content

Merge pull request #1284 from Badgerati/Issue-1283 #52

Merge pull request #1284 from Badgerati/Issue-1283

Merge pull request #1284 from Badgerati/Issue-1283 #52

Workflow file for this run

name: Pode CI - pwsh lts
on:
push:
branches:
- '*'
- '!gh-pages'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v4
- name: Setup Powershell
uses: bjompen/[email protected]
with:
ReleaseVersion: 'lts'
- name: Check PowerShell version
shell: pwsh
run: |
$PSVersionTable.PSVersion
- 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
- name: Run Pester Tests
shell: pwsh
run: |
Invoke-Build Test
- name: Test docker builds
shell: pwsh
run: |
Invoke-Build DockerPack -Version '0.0.0'