Add windows & macos builds

This commit is contained in:
Bernd Schoolmann 2023-08-23 23:26:38 +02:00 committed by GitHub
parent 418359b09e
commit 3769e53b54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 2 deletions

View File

@ -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'