Skip to content

Commit

Permalink
ci: add windows to matrix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb committed Oct 31, 2023
1 parent bfdf6b8 commit 1558cb7
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,33 @@
name: test

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# Push is enough even for PRs from maintainers, but not from contributors
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.18', '1.19', '1.20', '1.21' ]
os: [macos-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- uses: magefile/mage-action@v3
with:
version: v1.13.0
install-only: true

- run: |
git clone --depth 1 --branch v1.13.0 https://github.com/magefile/mage
cd mage
go run bootstrap.go
# - uses: magefile/mage-action@v3
# with:
# version: v1.13.0
# install-only: true

- run: |
go version
Expand Down

0 comments on commit 1558cb7

Please sign in to comment.