Skip to content

Commit ee9a129

Browse files
Merge pull request #223 from circleci/ONPREM-2629/fix-cgo
[ONPREM-2629] Install mingw 15.1.0 as there are errors with Go and 15.2.0
2 parents 1c98e74 + 9bf6061 commit ee9a129

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,18 +132,18 @@ jobs:
132132
type: string
133133
executor: << parameters.os >>
134134
steps:
135-
- setup
136135
- when:
137136
condition:
138137
equal: [ << parameters.os >>, "windows" ]
139138
steps:
140139
- run:
141140
name: "Install GCC, since we need cgo for the race detector"
142141
command: |
143-
choco install mingw -y
142+
choco install mingw --version=15.1.0 -y
144143
echo 'export PATH="$PATH:/c/ProgramData/mingw64/mingw64/bin"' >> ~/.bash_profile
145144
source ~/.bash_profile
146145
gcc -v
146+
- setup
147147
- with-go-cache:
148148
steps:
149149
- run: ./do test ./... -count 2

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/circleci/runner-init
22

33
go 1.24.0
44

5-
toolchain go1.24.6
5+
toolchain go1.24.7
66

77
require (
88
github.com/alecthomas/kong v1.12.1

0 commit comments

Comments
 (0)