Skip to content

Commit 0b4871d

Browse files
committed
test: update test config to use macos-latest, ubuntu-latest, windows-latest (instead of outdated and specific versions)
1 parent a026828 commit 0b4871d

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
os: [windows-2019, windows-2022]
22+
os: [windows-latest]
2323

2424
steps:
2525
- uses: actions/checkout@v3
@@ -40,7 +40,7 @@ jobs:
4040
strategy:
4141
fail-fast: false
4242
matrix:
43-
os: [ubuntu-22.04, ubuntu-24.04, macos-latest, windows-2019, windows-2022]
43+
os: [macos-latest, ubuntu-latest, windows-latest]
4444

4545
steps:
4646
- uses: actions/checkout@v3

Tests/powershell-yaml.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,12 +1080,12 @@ reallyLongDecimal: 3.9999999999999990
10801080
It 'can be compiled on import with <_>/YamlDotNet.dll loaded' -ForEach $targetFrameworks {
10811081
$targetFramework = $_
10821082
$yamlDotnetAssemblyPath =
1083-
Join-Path -Path $TestDrive -ChildPath "YamlDotNet-11.2.1\lib\${targetFramework}\YamlDotNet.dll" -Resolve
1083+
Join-Path -Path $TestDrive -ChildPath "YamlDotNet-16.3.0\lib\${targetFramework}\YamlDotNet.dll" -Resolve
10841084
$modulePath = Join-Path -Path $PSScriptRoot -ChildPath '..\powershell-yaml.psd1' -Resolve
10851085

10861086
{
10871087
# Do this in the background because YamlDotNet.dll is already loaded in this session and the way we
1088-
# found to reproduce this issue is by loading YamlDotNet 11.2.1 then importing powershell-yaml.
1088+
# found to reproduce this issue is by loading YamlDotNet 16.3.0 then importing powershell-yaml.
10891089
Start-Job {
10901090
$yamlDotnetAssemblyPath = $using:yamlDotnetAssemblyPath
10911091
$modulePath = $using:modulePath

dummy.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)