File tree 1 file changed +13
-3
lines changed
1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 11
11
12
12
strategy :
13
13
matrix :
14
- operating-system : [ubuntu-18.04, windows-2019] # , macOS-10.14]
14
+ operating-system : [ubuntu-18.04, windows-2019, macOS-10.14]
15
15
16
16
runs-on : ${{ matrix.operating-system }}
17
17
@@ -28,12 +28,22 @@ jobs:
28
28
go-version : ' 1.13'
29
29
30
30
- name : Install Go deps
31
+ if : matrix.operating-system != 'windows-2019'
32
+ run : |
33
+ go get github.com/golangci/govet
34
+ go get golang.org/x/lint/golint
35
+ go get github.com/golang/protobuf/protoc-gen-go
36
+
37
+ - name : Install Go deps on windows
38
+ # since 10/23/2019 pwsh is the default shell
39
+ # on Windows, but pwsh fails to install protoc-gen-go
40
+ # so we force cmd as default shell for this task
41
+ if : matrix.operating-system == 'windows-2019'
42
+ shell : cmd
31
43
run : |
32
44
go get github.com/golangci/govet
33
45
go get golang.org/x/lint/golint
34
46
go get github.com/golang/protobuf/protoc-gen-go
35
- if : matrix.operating-system == 'windows-2019'
36
- shell : cmd
37
47
38
48
- name : Install Taskfile
39
49
uses : Arduino/actions/setup-taskfile@master
You can’t perform that action at this time.
0 commit comments