Skip to content

Commit 87335a2

Browse files
committed
Different steps for different OS
1 parent 8295d0b commit 87335a2

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,23 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v1
14-
- name: Build Dunner and run tests
14+
15+
- name: Build Dunner and run tests on linux
16+
if: matrix.os == 'ubuntu-latest'
17+
run: |
18+
echo $GOBIN
19+
echo $GOPATH
20+
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
21+
dep ensure
22+
go install
23+
dunner version
24+
dunner do show
25+
26+
- name: Build Dunner and run tests on Mac
27+
if: matrix.os == 'macOS-latest'
1528
run: |
16-
go install github.com/golang/dep/cmd/dep
29+
brew install dep
30+
brew upgrade dep
1731
dep ensure
1832
go install
1933
dunner version

0 commit comments

Comments
 (0)