Skip to content

Commit 20ad271

Browse files
committed
Different steps for different OS
1 parent 8295d0b commit 20ad271

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,22 @@ 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+
mkdir -p ~/go/bin
19+
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
20+
dep ensure
21+
go install
22+
dunner version
23+
dunner do show
24+
25+
- name: Build Dunner and run tests on Mac
26+
if: matrix.os == 'macOS-latest'
1527
run: |
16-
go install github.com/golang/dep/cmd/dep
28+
brew install dep
29+
brew upgrade dep
1730
dep ensure
1831
go install
1932
dunner version

0 commit comments

Comments
 (0)