We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0bfe76 commit a0f6050Copy full SHA for a0f6050
.circleci/config.yml
@@ -262,15 +262,14 @@ jobs:
262
executor:
263
name: win/default
264
shell: powershell.exe
265
- environment:
266
- GOPATH=~/go
267
steps:
268
- checkout
269
- restore_module_cache
270
- run:
271
name: Upgrade golang
272
command: |
273
$ErrorActionPreference = 'Stop'
+ $env:GOPATH = "${env:USERPROFILE}\go"
274
choco upgrade golang --version=1.17
275
refreshenv
276
go env -w CGO_ENABLED=0
@@ -281,6 +280,8 @@ jobs:
281
280
name: Unit tests with coverage
282
283
284
+ $env:PATH = "$env:PATH;${env:GOPATH}\bin"
285
go-acc ./...
286
# - run:
287
# name: Upload coverage
0 commit comments