Skip to content

Fixing c# code for powershell 5.1 so it works properly. #11

Fixing c# code for powershell 5.1 so it works properly.

Fixing c# code for powershell 5.1 so it works properly. #11

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
name: Run Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v1
- name: Install and cache PowerShell modules
id: psmodulecache
uses: potatoqualitee/psmodulecache@v6.2.1
with:
modules-to-cache: BuildHelpers, Pester, psake, PowerShellBuild, PSScriptAnalyzer
- name: Build
shell: pwsh
run: ./build.ps1 -Task Build
- name: Test
shell: pwsh
run: ./build.ps1 -Task Test