From 45189e3e2b48a1e8a45bc99f831746a7be698a9d Mon Sep 17 00:00:00 2001 From: Andrew Keesler Date: Tue, 27 Oct 2020 18:20:12 -0400 Subject: [PATCH] No way this windows-unit-tests workflow works. Signed-off-by: Andrew Keesler --- .github/workflows/unit-tests.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 4bbfa273..c3cad7ce 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -23,3 +23,25 @@ jobs: run: go build -v ./... - name: Test run: go test -short -race -v ./... + macos-unit-tests: + name: macOS Unit Tests + runs-on: windows-latest + steps: + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: ^1.15 + id: go + - name: Checkout + uses: actions/checkout@v2 + - name: Cache Dependencies + uses: actions/cache@v2 + with: + path: ~/go/pkg/mod + key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} + restore-keys: | + ${{ runner.os }}-go- + - name: Build + run: go build -v ./... + - name: Test + run: go test -short -race -v ./...