From c1ddedf9eff2bf61724e852a05a75237743b7f31 Mon Sep 17 00:00:00 2001 From: Philipp Winter Date: Sun, 3 Mar 2024 08:47:12 -0600 Subject: [PATCH] Add workflow job for macOS. --- .github/workflows/go.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 8c24059..94e906f 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,6 +10,21 @@ on: branches: [ "master" ] jobs: + build: + runs-on: macos-latest + steps: + - uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.21' + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./... build: runs-on: ubuntu-latest