update-mod-go

command
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2025 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

update-mod-go provides a command to help bump the `go/`toolchain` directives in the `go.mod`s of River's internal dependencies across the project. It's used to check that all directives match in CI, and to give us an easy way of updating them all at once during upgrades.

To check that directives match, run with `CHECK`:

CHECK=true make update-mod-go

To upgrade a `go`/`toolchain` directive, change it in the workspace's `go.work`, then run the program:

make update-mod-go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL