Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
renovate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Renovate Bot
renovate
Commits
99a2eff8
Unverified
Commit
99a2eff8
authored
3 years ago
by
HonkingGoose
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
docs: improve Go binary version docs (#10942)
parent
ac1716a5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/usage/golang.md
+12
-4
12 additions, 4 deletions
docs/usage/golang.md
with
12 additions
and
4 deletions
docs/usage/golang.md
+
12
−
4
View file @
99a2eff8
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment