Skip to content

Commit 91d4b2f

Browse files
committed
try it in ubuntu
1 parent f7071fd commit 91d4b2f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/validate-powershell.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
contents: read # for actions/checkout to fetch code
3131
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
3232
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
33-
runs-on: windows-latest
33+
runs-on: ubuntu-latest
3434
steps:
3535
- uses: actions/checkout@v4
3636

@@ -52,12 +52,12 @@ jobs:
5252
sarif_file: results.sarif
5353

5454
- name: Install Pester
55-
shell: powershell
55+
shell: pwsh
5656
run: |
5757
Install-Module -Name Pester -Force -Scope CurrentUser
5858
5959
- name: Run Pester Unit Tests
60-
shell: powershell
60+
shell: pwsh
6161
run: |
6262
$modules = Get-ChildItem -Directory -Path ./src
6363
foreach ($module in $modules) {
@@ -71,7 +71,7 @@ jobs:
7171
}
7272
7373
- name: Run Pester ADServices Integration Tests
74-
shell: powershell
74+
shell: pwsh
7575
run: |
7676
$Server = 'localhost:389'
7777
$PSCredential = [PSCredential]::new('Administrator', (ConvertTo-SecureString 'Passw0rd' -AsPlainText -Force))

0 commit comments

Comments
 (0)