We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efa7ebf commit 4e1bfcdCopy full SHA for 4e1bfcd
.ci/updatecli/updatecli-bump-golang.yml
@@ -124,12 +124,21 @@ targets:
124
- Dockerfile
125
- Dockerfile.skaffold
126
matchpattern: 'ARG GO_VERSION=\d+.\d+.\d+'
127
- update-gomod:
128
- name: "Update go.mod"
+ update-gomod-minor-version:
+ name: "Update go.mod minor version"
129
sourceid: gomod
130
scmid: githubConfig
131
kind: file
132
spec:
133
content: 'go {{ source "gomod" }}'
134
file: go.mod
135
matchpattern: 'go \d+.\d+'
136
+ update-gomod-toolchain-version:
137
+ name: "Update go.mod toolchain version"
138
+ sourceid: latestGoVersion
139
+ scmid: githubConfig
140
+ kind: file
141
+ spec:
142
+ content: 'toolchain go{{ source "latestGoVersion" }}'
143
+ file: go.mod
144
+ matchpattern: 'toolchain go\d+.\d+.\d+'
0 commit comments