Skip to content

Commit 9e121c3

Browse files
committed
Use windows-latest in GA - fixes #2389
1 parent ec1f601 commit 9e121c3

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ jobs:
214214
fi
215215
216216
package-windows:
217-
runs-on: windows-2019
217+
runs-on: windows-latest
218218
defaults:
219219
run:
220220
shell: pwsh

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
go-version: [1.22.x]
18-
platform: [ubuntu-latest, windows-2019]
18+
platform: [ubuntu-latest, windows-latest]
1919
runs-on: ${{ matrix.platform }}
2020
steps:
2121
- name: Checkout code
@@ -49,7 +49,7 @@ jobs:
4949
strategy:
5050
fail-fast: false
5151
matrix:
52-
platform: [ubuntu-latest, windows-2019]
52+
platform: [ubuntu-latest, windows-latest]
5353
runs-on: ${{ matrix.platform }}
5454
continue-on-error: true
5555
steps:
@@ -87,7 +87,7 @@ jobs:
8787
fail-fast: false
8888
matrix:
8989
go-version: [1.23.x]
90-
platform: [ubuntu-latest, windows-2019]
90+
platform: [ubuntu-latest, windows-latest]
9191
runs-on: ${{ matrix.platform }}
9292
steps:
9393
- name: Checkout code

.github/workflows/xk6.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
go: [stable, tip]
19-
platform: [ubuntu-latest, windows-2019, macos-latest]
19+
platform: [ubuntu-latest, windows-latest, macos-latest]
2020
runs-on: ${{ matrix.platform }}
2121
steps:
2222
- name: Checkout code
@@ -60,10 +60,10 @@ jobs:
6060
"${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.repository }}" ]; then
6161
export XK6_K6_REPO="github.com/${{ github.event.pull_request.head.repo.full_name }}"
6262
fi
63-
# The following is a workaround for Windows, cause when using 'shell: bash', the PATH is expressed
63+
# The following is a workaround for Windows, cause when using 'shell: bash', the PATH is expressed
6464
# with ':' as separator, but Go code, running on a Windows OS, expects ';' as separator.
6565
XPATH="$PATH"
66-
if [[ "${{ matrix.platform }}" == "windows-latest" || "${{ matrix.platform }}" == "windows-2019" ]]; then
66+
if [[ "${{ matrix.platform }}" == "windows-latest" || "${{ matrix.platform }}" == "windows-latest" ]]; then
6767
XPATH="$HOME/sdk/gotip/bin;$XPATH"
6868
fi
6969
PATH="$XPATH" \

0 commit comments

Comments
 (0)