Isolate modern and Win7 workspaces (T-604)
This commit is contained in:
@@ -35,7 +35,13 @@ New-Item -ItemType Directory -Force -Path (Join-Path $Root "dist") | Out-Null
|
||||
|
||||
Invoke-Step "Sync root workspace" {
|
||||
$env:GOTOOLCHAIN = "go1.25.0"
|
||||
Remove-Item Env:GOWORK -ErrorAction SilentlyContinue
|
||||
$env:GOWORK = (Resolve-Path "go.work").Path
|
||||
go work sync
|
||||
}
|
||||
|
||||
Invoke-Step "Sync Win7 workspace" {
|
||||
$env:GOTOOLCHAIN = "go1.25.0"
|
||||
$env:GOWORK = (Resolve-Path "app-win7/go.work").Path
|
||||
go work sync
|
||||
}
|
||||
|
||||
@@ -54,7 +60,8 @@ Invoke-Step "Validate core architecture boundary" {
|
||||
}
|
||||
|
||||
Invoke-Step "Validate Go and dependency pins" {
|
||||
$env:GOTOOLCHAIN = "go1.20.14"
|
||||
Remove-Item Env:GOTOOLCHAIN -ErrorAction SilentlyContinue
|
||||
Remove-Item Env:GOWORK -ErrorAction SilentlyContinue
|
||||
python scripts/check_go_versions.py
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user