Skip to content

Commit b9181aa

Browse files
authored
chore: upgrade go version everywhere at once (#266)
1 parent 055ae77 commit b9181aa

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.18-alpine as builder
1+
FROM golang:1.18.4-alpine as builder
22

33
RUN apk add --no-cache make
44

renovate.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"rangeStrategy": "pin",
99
"rebaseWhen": "behind-base-branch",
1010
"semanticCommits": "enabled",
11+
"platformAutomerge": true,
1112
"postUpdateOptions": ["gomodTidy"],
1213
"regexManagers": [
1314
{
@@ -34,11 +35,22 @@
3435
}
3536
],
3637
"packageRules": [
38+
{
39+
"description": "The golang CI language version only uses major.minor",
40+
"matchFiles": [".golangci.yml"],
41+
"matchPackageNames": ["go"],
42+
"extractVersion": "^(?<version>\\d+\\.\\d+)"
43+
},
3744
{
3845
"description": "Automatically merge minor updates for GitHub actions and go dependencies",
3946
"matchManagers": ["github-actions", "gomod"],
4047
"matchUpdateTypes": ["minor", "patch"],
4148
"automerge": true
49+
},
50+
{
51+
"description": "Group go upgrades",
52+
"matchPackageNames": ["go", "golang"],
53+
"groupName": "go"
4254
}
4355
]
4456
}

0 commit comments

Comments
 (0)