From ef0e815e95eced1c8af4aec0e933eddc11207654 Mon Sep 17 00:00:00 2001 From: Jesse van den Kieboom Date: Mon, 17 Jun 2024 07:55:46 +0200 Subject: [PATCH] Add windows and macos targets for github actions --- .github/workflows/go.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 27e6e7d..1d6aa0d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -4,6 +4,7 @@ name: Go on: + workflow_dispatch: push: branches: ["main"] pull_request: @@ -11,12 +12,15 @@ on: jobs: build: - runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - name: setup - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: "1.20"