diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 20eb7c0..5a8ed46 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,9 +11,22 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Build Dunner and run tests + + - name: Build Dunner and run tests on linux + if: matrix.os == 'ubuntu-latest' + run: | + mkdir -p ~/go/bin + curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh + ~/go/bin/dep ensure + go install + dunner version + dunner do show + + - name: Build Dunner and run tests on Mac + if: matrix.os == 'macOS-latest' run: | - go install github.com/golang/dep/cmd/dep + brew install dep + brew upgrade dep dep ensure go install dunner version