mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 23:16:26 +00:00
1.1 KiB
1.1 KiB
title | description |
---|---|
Go Modules | Go modules support in Renovate |
Automated Dependency Updates for Go Modules
Renovate supports upgrading dependencies in go.mod
files and their accompanying go.sum
checksums.
How It Works
- Renovate will search each repository for any
go.mod
files. - Existing dependencies will be extracted from
require
statements - Renovate will resolve the dependency's source repository and check for semver tags if found
- A PR will be created with
go.mod
andgo.sum
updated in the same commit - If the source repository has either a "changelog" file or uses GitHub releases, then Release Notes for each version will be embedded in the generated PR.
Enabling
Either install the Renovate App on GitHub, or check out Renovate OSS or Renovate Pro for self-hosted options.
Future work
- #2580 Support vendoring of dependencies (i.e. Renovate updating the
vendor/
directory in same PR as it updatego.mod
andgo.sum
)