Commit 01d4993
committed
set GOTOOLCHAIN min version when init go.work
In the service operators, when the golang version does not match
the version used inside the build container, dowloading the
modules can fail with:
~~~
go: go.work requires go >= 1.21.13 (running go 1.21.11; GOTOOLCHAIN=local)
~~~
This PR makes set the GOTOOLCHAIN to set 1.21.0 as the min required
version and sets it in go.work file.
Signed-off-by: Martin Schuppert <mschuppert@redhat.com>1 parent 5745a15 commit 01d4993
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
136 | | - | |
| 137 | + | |
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| |||
0 commit comments