From c500eb9dc696725ec03cdeefd4a474cfe859db90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Fri, 4 Nov 2022 15:43:26 +0100 Subject: [PATCH] ci: lock windows Go version at 1.18.8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes the following build error: ``` protocol\messenger.go:5957:6: missing function body protocol\messenger.go:5957:16: syntax error: unexpected [, expecting ( protocol\messenger.go:5959:2: syntax error: non-declaration statement outside function body note: module requires Go 1.18 ``` Signed-off-by: Jakub SokoĊ‚owski --- scripts/windows_build_setup.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/windows_build_setup.ps1 b/scripts/windows_build_setup.ps1 index 4cdc37b58a..6f9e3c0e4f 100644 --- a/scripts/windows_build_setup.ps1 +++ b/scripts/windows_build_setup.ps1 @@ -15,7 +15,10 @@ function Install-Scoop { # Install Git and other dependencies function Install-Dependencies { Write-Host "Installing dependencies..." - scoop install --global 7zip git dos2unix findutils wget make cmake gcc go rcedit inno-setup + scoop install --global ` + 7zip git dos2unix findutils ` + wget rcedit inno-setup ` + make cmake gcc go@1.18.8 scoop bucket add extras scoop install --global vcredist2017 }