Skip to content

Commit 150cb58

Browse files
🩹 [CI]: Update Get-TestSuites workflow to use PSCustomObject for OS configurations and upgrade checkout action to v4
1 parent 53dab29 commit 150cb58

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎.github/workflows/Get-TestSuites.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ jobs:
9090
9191
# Define test configurations as an array of hashtables.
9292
$osConfigs = @(
93-
@{ RunsOn = 'ubuntu-latest'; OSName = 'Linux' }
94-
@{ RunsOn = 'macos-latest'; OSName = 'macOS' }
95-
@{ RunsOn = 'windows-latest'; OSName = 'Windows' }
93+
[PSCustomObject]@{ RunsOn = 'ubuntu-latest'; OSName = 'Linux' }
94+
[PSCustomObject]@{ RunsOn = 'macos-latest'; OSName = 'macOS' }
95+
[PSCustomObject]@{ RunsOn = 'windows-latest'; OSName = 'Windows' }
9696
) | Where-Object { $skipTests -notcontains $_.OSName }
9797
9898
if (-not $osConfigs) {

‎.github/workflows/Test-Module.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
runs-on: ${{ inputs.RunsOn }}
8888
steps:
8989
- name: Checkout repository
90-
uses: actions/checkout@v3
90+
uses: actions/checkout@v4
9191

9292
- name: Download module artifact
9393
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)