update-go-deps
How to update Go module dependencies in go.mod and go.sum.
Warnings for the author
- "name" should match the name of the directory that holds SKILL.md
- Not listed through the skills extension: the directory must be named after the skill.
Updating Go Dependencies (go.mod)
-
Update Modules and Tidy:
- From the repository root, update a specific module (
go get example.com/pkg@latest) or all dependencies:go get -u ./... go mod tidy - Ensure
go getdid not raise thegodirective in go.mod abovego_versionin util/bot/DEPS (see update_bot_deps).
- From the repository root, update a specific module (
-
Verify:
go test $(cat util/go_tests.txt) go build ./util/fipstools/acvp/acvptoolAlso run pregeneration checks (see update_pregenerated_files) and the SSL runner (see run_ssl_go_tests).
Files of this skill
This skill has no supporting files.