From a99682cb120cf0618f2d60c750898133d74596fb Mon Sep 17 00:00:00 2001 From: Leonard Jonathan Oh Date: Thu, 1 Feb 2024 00:54:45 +0000 Subject: [PATCH] Enhancement (ci): Add powershell 7.4 test job --- .github/workflows/ci-master-pr.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci-master-pr.yml b/.github/workflows/ci-master-pr.yml index 3c74dc2..504d166 100644 --- a/.github/workflows/ci-master-pr.yml +++ b/.github/workflows/ci-master-pr.yml @@ -117,6 +117,19 @@ jobs: run: | pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1' + test-powershell-7-4: + runs-on: ubuntu-latest + container: + image: mcr.microsoft.com/powershell:7.4-ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + - name: Powershell version + run: | + pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable' + - name: Test + run: | + pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1' + update-draft-release: needs: - test-powershell-5-1-windows-2019 @@ -127,6 +140,7 @@ jobs: - test-powershell-7-1 - test-powershell-7-2 - test-powershell-7-3 + - test-powershell-7-4 - test-publish-to-psgallery if: github.ref == 'refs/heads/master' runs-on: ubuntu-latest @@ -172,6 +186,7 @@ jobs: - test-powershell-7-1 - test-powershell-7-2 - test-powershell-7-3 + - test-powershell-7-4 - test-publish-to-psgallery if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest