Skip to content

update deps, add testscript.GoTool #298

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

mvdan
Copy link
Collaborator

@mvdan mvdan commented Jul 10, 2025

(see commit messages - please do not squash)

mvdan added 2 commits July 10, 2025 11:18
To make sure we are testing with the latest versions,
which our downstream users are likely using.
`go get -tool` paired with `go tool X` is a helpful feature added
in Go 1.24, and it's really useful to testscript users given that
it tracks the dependency in go.mod and caches the built binaries too.

Its current implementation is a bit limited given the API for Main.
See the added comments and TODO for future tweaks.
@mvdan mvdan requested a review from rogpeppe July 10, 2025 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant