You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 87d6119
Browse filesBrowse the repository at this point in the historyBrowse files
build: run task and go-tools from released binaries
go tool task is go-tools' task command now: the Task versions.yaml pins,
for every platform, with go-tools' latest release on its PATH, so the
Taskfile calls vulngate, ctxlife, testquality, refs, mutate, deadgate,
taskgate, sfw and versions by name. Neither is compiled here any more:
the module graph goes from 568 modules to 272. mockgen and deadcode stay
go.mod tools.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
desc: Rewrite every internal/**/testdata/ts-oracle/*.json with the results of the reference TypeScript functions (tools/tsoracle), run in the node image versions.yaml pins (needs Docker)
254
254
deps: [reference:compile]
255
255
cmds:
256
-
- go run ./cmd/devtool ts-oracle "$(go tool versions ref node)"
256
+
- go run ./cmd/devtool ts-oracle "$(versions ref node)"
257
257
258
258
testdata:ts-oracle:check:
259
259
desc: Fail when a testdata/ts-oracle golden differs from what the reference TypeScript functions return
260
260
deps: [reference:compile]
261
261
cmds:
262
-
- TS_ORACLE_IMAGE="$(go tool versions ref node)" go test ./internal/devtools -run '^TestTSOracleGoldensMatchTheReference$' -count=1 -v
262
+
- TS_ORACLE_IMAGE="$(versions ref node)" go test ./internal/devtools -run '^TestTSOracleGoldensMatchTheReference$' -count=1 -v
263
263
264
264
reference:
265
265
desc: Install and compile the TypeScript parity oracle
@@ -281,7 +281,7 @@ tasks:
281
281
# must be in the inventory (needs reference/ checked out, so it lives here).
282
282
- go test ./internal/cli -run TestOracleFlagCoverage -count=1
283
283
# The ts-oracle goldens must be what the reference's functions return.
284
-
- TS_ORACLE_IMAGE="$(go tool versions ref node)" go test ./internal/devtools -run '^TestTSOracleGoldensMatchTheReference$' -count=1
284
+
- TS_ORACLE_IMAGE="$(versions ref node)" go test ./internal/devtools -run '^TestTSOracleGoldensMatchTheReference$' -count=1
285
285
- PARITY_REPORT_FILE={{.ROOT_DIR}}/artifacts/parity-contract.json PARITY_STRICT=true PARITY_LANE=contract PARITY_SKIP_DOCKER=true PARITY_SKIP_NETWORK=true go test ./internal/cli -run TestParityMatrix -count=1 -timeout 10m -v {{.CLI_ARGS}}
286
286
287
287
parity:semantic:
@@ -410,14 +410,14 @@ tasks:
410
410
msg: goreleaser is required
411
411
env:
412
412
DISTROLESS_IMAGE:
413
-
sh: go tool versions ref distroless
413
+
sh: versions ref distroless
414
414
cmds:
415
415
- goreleaser release --clean {{.CLI_ARGS}}
416
416
417
417
release:env:
418
418
desc: "CI-ONLY: export what GoReleaser reads from versions.yaml (DISTROLESS_IMAGE) to $GITHUB_ENV"
0 commit comments