From 0bf19a47cd967bdbf5cad1d232664765442c98fb Mon Sep 17 00:00:00 2001 From: Joel Timothy Oh Date: Mon, 29 Apr 2024 10:40:31 +0000 Subject: [PATCH] Test (ci): Add additional test for PS `5.1` --- .github/workflows/ci-master-pr.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci-master-pr.yml b/.github/workflows/ci-master-pr.yml index 41a0d59..b4c9e60 100644 --- a/.github/workflows/ci-master-pr.yml +++ b/.github/workflows/ci-master-pr.yml @@ -44,6 +44,17 @@ jobs: run: | pwsh -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1' + test-powershell-5-1-windows-2022: + runs-on: windows-2022 + steps: + - uses: actions/checkout@v1 + - name: Powershell version + run: | + powershell -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable' + - name: Test + run: | + powershell -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1' + test-powershell-5-1-windows-2019: runs-on: windows-2019 steps: