Skip to content

Commit 4671f1d

Browse files
author
Roberto Sora
authored
[skip changelog] Force windows env to use bash as shell instead of powershell (#453)
* [skip changelog] Force windows env to use cmd as shell instead of powershell * temporarly enable only windows for test flow * moved up cmd default shell for windows at job level * revert and enable all * disable macos * force use of cmd on windows only for go getting dependencies * typo * typo * test using `bash` as default shell * cleanup task and comment
1 parent f99361a commit 4671f1d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,14 @@ jobs:
2828
go-version: '1.13'
2929

3030
- name: Install Go deps
31+
# Since 10/23/2019 pwsh is the default shell
32+
# on Windows, but pwsh fails to install protoc-gen-go so
33+
# we force bash as default shell for all OSes in this task
3134
run: |
3235
go get github.com/golangci/govet
3336
go get golang.org/x/lint/golint
3437
go get github.com/golang/protobuf/protoc-gen-go
38+
shell: bash
3539

3640
- name: Install Taskfile
3741
uses: Arduino/actions/setup-taskfile@master

0 commit comments

Comments
 (0)