Commit 74e5bb5
authored
fix: update enumer calls to use Go 1.24 tool management
Fixes the goreleaser workflow that was failing for v0.22.0 release.
Problem:
- Goreleaser failed with 'enumer: executable file not found in $PATH'
- The workflow runs 'go generate ./...' which requires the enumer tool
Solution:
- Updated goreleaser workflow to install tools using 'go install tool'
- Added Go version 1.24 specification for tool management support
- Updated all 5 go:generate directives from 'enumer' to 'go tool enumer'
- Follows the same pattern used in the Makefile's build-tools target
This ensures enumer is properly available in CI environment through Go's
tool management system, consistent with Go 1.24's tool directive approach.
Relates to failed v0.22.0 release: https://github.com/apstndb/spanner-mycli/actions/runs/168897320161 parent 5b6a864 commit 74e5bb5
2 files changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments