diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 573ba4f2..b0ece5bf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -59,3 +59,31 @@ jobs: - name: Test run: | $(brew --prefix)/bin/bash ci/scripts/test.sh $(pwd) + + windows: + name: AMD64 Windows 2019 Go ${{ matrix.go }} + runs-on: windows-2019 + timeout-minutes: 25 + strategy: + fail-fast: false + matrix: + go: + - '1.22' + - '1.23' + steps: + - name: Checkout + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + with: + submodules: recursive + - name: Setup Go + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 + with: + go-version: ${{ matrix.go }} + cache: true + cache-dependency-path: go.sum + - name: Build + shell: bash + run: ci/scripts/build.sh $(pwd) + - name: Test + shell: bash + run: ci/scripts/test.sh $(pwd)