From 8376f59dbbf2a47ffd23b9cc700232801f63418f Mon Sep 17 00:00:00 2001 From: Eric Mikulin Date: Tue, 30 Jan 2024 14:58:11 -0800 Subject: [PATCH] Add mingw to GO --- .github/workflows/go-demos.yml | 8 +++++++- .github/workflows/go.yml | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go-demos.yml b/.github/workflows/go-demos.yml index c5faea76..888678a8 100644 --- a/.github/workflows/go-demos.yml +++ b/.github/workflows/go-demos.yml @@ -26,13 +26,19 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - go: [ '1.19', '1.20', '1.21' ] + go: [ '1.16', '1.17', '1.18', '1.19', '1.20', '1.21', 'stable' ] steps: - uses: actions/checkout@v3 with: submodules: recursive + - name: Set up Mingw + uses: egor-tensin/setup-mingw@v2 + if: ${{ (matrix.os == 'windows-latest') && (matrix.go != 'stable') && (matrix.go < 1.20) }} + with: + version: 11.2.0 + - name: Setup go uses: actions/setup-go@v4 with: diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5ff0af38..eaa46dae 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -38,13 +38,19 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest] - go: [ '1.19', '1.20', '1.21' ] + go: [ '1.16', '1.17', '1.18', '1.19', '1.20', '1.21', 'stable' ] steps: - uses: actions/checkout@v3 with: submodules: recursive + - name: Set up Mingw + uses: egor-tensin/setup-mingw@v2 + if: ${{ (matrix.os == 'windows-latest') && (matrix.go != 'stable') && (matrix.go < 1.20) }} + with: + version: 11.2.0 + - name: Setup go uses: actions/setup-go@v4 with: