Skip to content
Snippets Groups Projects
Unverified Commit 99a2eff8 authored by HonkingGoose's avatar HonkingGoose Committed by GitHub
Browse files

docs: improve Go binary version docs (#10942)

parent ac1716a5
No related branches found
No related tags found
No related merge requests found
...@@ -40,11 +40,19 @@ Renovate will commit all files changed within the `vendor/` folder. ...@@ -40,11 +40,19 @@ Renovate will commit all files changed within the `vendor/` folder.
### Go binary version ### Go binary version
By default, Renovate will keep up with the very latest version of `go`. By default, Renovate will keep up with the latest version of the `go` binary.
You can "pin" the `go` version that Renovate uses. You can force Renovate to use a specific version of Go by setting a constraint.
Say you want Renovate to use Go version 1.14, you can do this by adding `go 1.14` to your `go.mod` file. As an example, say you want Renovate to use the latest patch version of the `1.16` Go binary, you'd put this in your Renovate config:
We do not support pinning Go versions to a specific patch level, so you cannot use `go 1.14.12`, but you can use `go 1.14` in your `go.mod` file.
```json
"constraints": {
"go": "1.16"
}
```
We do not support patch level versions for the minimum `go` version.
This means you cannot use `go 1.16.6`, but you can use `go 1.16` as a contraint.
### Custom registry support, and authentication ### Custom registry support, and authentication
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment