From d04dc0c2d0a501eb890071bcf2c415f032696189 Mon Sep 17 00:00:00 2001 From: Benjamin Wang Date: Tue, 27 Dec 2022 14:49:58 +0800 Subject: [PATCH] Support running workflow on Windows-latest Signed-off-by: Benjamin Wang --- .github/workflows/tests.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index b328c63..c2b79aa 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -2,7 +2,10 @@ name: Tests on: [push, pull_request] jobs: test: - runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 @@ -12,4 +15,4 @@ jobs: - run: make race - run: make test - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@0ad9a0988b3973e851ab0a07adf248ec2e100376 # v3.3.1