Commit 83fe110
test: pin func CLI version so config ci workflow test is deterministic (#4034)
The integration test asserted the generated workflow contains
github.DefaultFuncCliVersion, but the command now sources the version
from version.Kver (injected via -ldflags). On release-1.23 the branch's
latest tag is knative-v1.23.1, so the emitted version did not match the
compiled-in default (knative-v1.23.0) and the test failed. Pin
version.Kver in the test so the output is independent of the build/branch.
Signed-off-by: Matej Vašek <matejvasek@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent d327dce commit 83fe110
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
80 | 88 | | |
81 | 89 | | |
82 | 90 | | |
| |||
0 commit comments