From 066f2631ddcbd259c9ebc2a2b3f940b35ee74e64 Mon Sep 17 00:00:00 2001 From: Nguyen Tran Hau Date: Fri, 23 Apr 2021 10:57:12 +0700 Subject: [PATCH] chore: add building macos on github action (#11) Co-authored-by: Tran Hau --- .github/workflows/go.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 8cc9182..267b814 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -20,7 +20,10 @@ jobs: - run: go test -race ./... build: name: Build - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] steps: - uses: actions/checkout@v2 - uses: actions/setup-go@v2