From a95b2e9768410f06a8874c5d6cc7efdf36e5ead9 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. (cherry picked from commit b4cc9ed647b97413efdaed6c0864b05d4213bc28) --- .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: