Skip to content

Commit 92a8aac

Browse files
Merge pull request #68 from leojonathanoh/enhancement/ci-add-powershell-7.4-test-job
Enhancement (ci): Add Powershell 7.4 test job
2 parents e5a9167 + 479c1d9 commit 92a8aac

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci-master-pr.yml

+15
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,19 @@ jobs:
117117
run: |
118118
pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1'
119119
120+
test-powershell-7-4:
121+
runs-on: ubuntu-latest
122+
container:
123+
image: mcr.microsoft.com/powershell:7.4-ubuntu-22.04
124+
steps:
125+
- uses: actions/checkout@v3
126+
- name: Powershell version
127+
run: |
128+
pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable'
129+
- name: Test
130+
run: |
131+
pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1'
132+
120133
update-draft-release:
121134
needs:
122135
- test-powershell-5-1-windows-2019
@@ -127,6 +140,7 @@ jobs:
127140
- test-powershell-7-1
128141
- test-powershell-7-2
129142
- test-powershell-7-3
143+
- test-powershell-7-4
130144
- test-publish-to-psgallery
131145
if: github.ref == 'refs/heads/master'
132146
runs-on: ubuntu-latest
@@ -172,6 +186,7 @@ jobs:
172186
- test-powershell-7-1
173187
- test-powershell-7-2
174188
- test-powershell-7-3
189+
- test-powershell-7-4
175190
- test-publish-to-psgallery
176191
if: startsWith(github.ref, 'refs/tags/')
177192
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)