Skip to content

Commit 20704bf

Browse files
committed
try installing go1.20 on Windows
The TestFromDirSymlink test is failing on Windows; === Failed === FAIL: fs TestFromDirSymlink (0.01s) ops_test.go:55: assertion failed: directory C:\Users\circleci\AppData\Local\Temp\test-from-dir-992742947 does not match expected: \a\b\3 target: expected C:\some\inexistent\link got \some\inexistent\link Unlike Linux, Windows is always testing against "latest" version of Golang; Chocolatey v2.2.2 Upgrading the following packages: golang By upgrading, you accept licenses for the packages. You have golang v1.22.2 installed. Version 1.23.0 is available based on your source(s). Progress: Downloading golang 1.23.0... 100% Try installing go1.20 to see if that's related Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 05b199a commit 20704bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ workflows:
3636
git config --global core.autocrlf false
3737
git config --global core.symlinks true
3838
- run: |
39-
choco upgrade golang
39+
choco install golang --allow-downgrade --version=go1.20.14
4040
echo 'export PATH="$PATH:/c/Program Files/Go/bin"' > $BASH_ENV
4141
- run: go version
4242

0 commit comments

Comments
 (0)