From b4cc9ed647b97413efdaed6c0864b05d4213bc28 Mon Sep 17 00:00:00 2001 From: Nick Ripley Date: Wed, 4 Oct 2023 11:14:49 -0400 Subject: [PATCH] ci: use older Windows for Go 1.19 tests (#2250) 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. --- .github/workflows/multios-unit-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/multios-unit-tests.yml b/.github/workflows/multios-unit-tests.yml index 6f5229b4fc..289c991247 100644 --- a/.github/workflows/multios-unit-tests.yml +++ b/.github/workflows/multios-unit-tests.yml @@ -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: