Commit 0c32241
authored
Add go toolchain support (#609)
* hack/install-go.sh: Prefer toolchain version
When a toolchain directive is present in go.mod, use its version
for downloading Go instead of the go directive. This directive
specifies which Go version to use for building.
Assisted-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Ram Lavi <ralavi@redhat.com>
* build: Prefer toolchain version in Dockerfile
When a toolchain directive is present in go.mod, use its version
for downloading Go instead of the go directive. This directive
specifies which Go version to use for building
Assisted-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Ram Lavi <ralavi@redhat.com>
* vendor: Add toolchain 1.25.7, keep go 1.25
This commit sets a toolchain of 1.25.7 mant for
building the project, while keeping 1.25 as the minimum
go version that should be used for it.
Assisted-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Ram Lavi <ralavi@redhat.com>
---------
Signed-off-by: Ram Lavi <ralavi@redhat.com>1 parent 03acdb4 commit 0c32241
3 files changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
0 commit comments