Skip to content

Commit 6a0cefb

Browse files
Refactor CI workflow to remove PowerShell setup
Removed PowerShell setup step and updated shell usage for install and build steps.
1 parent c338e56 commit 6a0cefb

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,13 @@ jobs:
1313
- name: Checkout
1414
uses: actions/checkout@v4
1515

16-
- name: Setup PowerShell
17-
uses: actions/setup-powershell@v1
18-
1916
- name: Install dependencies
17+
shell: pwsh
2018
run: |
2119
pwsh -Command "Install-Module Pester -Scope CurrentUser -Force"
2220
pwsh -Command "Install-Module PlatyPS -Scope CurrentUser -Force"
2321
pwsh -Command "Install-Module PSScriptAnalyzer -Scope CurrentUser -Force"
2422
2523
- name: Run build
24+
shell: pwsh
2625
run: pwsh ./build.ps1

0 commit comments

Comments
 (0)