Isolate modern and Win7 workspaces (T-604)

This commit is contained in:
ila
2026-07-16 21:27:52 +08:00
parent e4a9295cbf
commit 7efcab5dfe
11 changed files with 234 additions and 43 deletions
+9 -2
View File
@@ -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
}