Commit 0aec996
committed
[build] Add go mod tidy before go mod vendor for Go 1.24 compat
Go 1.24 (shipped in Debian Trixie) is stricter about module graph
consistency. Running `go mod vendor` without `go mod tidy` first
fails with module resolution errors when the go.mod was written
for an older Go version.
Add `go mod tidy` before `go mod vendor`. This is backward
compatible — on Go 1.21 (bookworm) it is a no-op.
Signed-off-by: Rustiqly <rustiqly@users.noreply.github.com>1 parent 61d8b07 commit 0aec996
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
39 | 48 | | |
40 | 49 | | |
41 | 50 | | |
| |||
0 commit comments