From c7893149b35025601cdc659c7a25c9b5956c720b Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Tue, 7 Sep 2021 10:50:43 -0700 Subject: [PATCH] CI: Test with Windows Update the GitHub workflow configuration to test on both, Linux and Windows. --- .github/workflows/go.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 24249d535..b24e16f72 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,13 +10,16 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: matrix: go: ["1.15.x", "1.16.x", "1.17.x"] + os: ["ubuntu-latest", "windows-latest"] include: - go: 1.17.x + os: ubuntu-latest latest: true + # Lint only on Ubuntu with the latest Go. steps: - name: Setup Go