Skip to content

Commit 9db65ea

Browse files
authored
ci(r): ensure installing the required version of Go on windows (#3818)
It seems that the problem was that powershell was used instead of bash on Windows, so the Go version was not set in the environment variables and causing the error.
1 parent c1b77b8 commit 9db65ea

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/r-check.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ on:
3939
SNOWFLAKE_URI:
4040
required: false
4141

42+
defaults:
43+
run:
44+
shell: bash
45+
4246
jobs:
4347
r-check:
4448
runs-on: ${{ inputs.os }}-latest
@@ -74,7 +78,6 @@ jobs:
7478
pushd "r/${{ inputs.pkg }}"
7579
Rscript bootstrap.R
7680
popd
77-
shell: bash
7881
7982
- uses: r-lib/actions/setup-r-dependencies@6f6e5bc62fba3a704f74e7ad7ef7676c5c6a2590
8083
with:

0 commit comments

Comments
 (0)