From 3769e53b548b3854f7287f6e661e83bda1b87d6f Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Wed, 23 Aug 2023 23:26:38 +0200 Subject: [PATCH] Add windows & macos builds --- .github/workflows/go.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 4fb685b..b091395 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,8 +10,7 @@ on: branches: [ "main" ] jobs: - - build: + linux: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -35,3 +34,21 @@ jobs: - name: Test run: go test -v ./... + macos: + runs-on: macOS-latest + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.20' + windows: + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.20'