Skip to content

Commit

Permalink
ci: use older Windows for Go 1.19 tests (#2250)
Browse files Browse the repository at this point in the history
Use windows-2019 runner when testing Go 1.19, since the windows-2022 image
has an incompatible C toolchain which breaks some of our tests.

(cherry picked from commit b4cc9ed)
  • Loading branch information
nsrip-dd authored and darccio committed Oct 5, 2023
1 parent 08f3182 commit a95b2e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/multios-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:

jobs:
test-multi-os:
runs-on: ${{ inputs.runs-on }}
runs-on: "${{ (inputs.go-version == '1.19' && inputs.runs-on == 'windows-latest') && 'windows-2019' || inputs.runs-on }}"
env:
REPORT: gotestsum-report.xml # path to where test results will be saved
steps:
Expand Down

0 comments on commit a95b2e9

Please sign in to comment.