-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Description
The make licenses target fails in CI with the error:
F0224 21:59:50.856105 10798 main.go:77] errors for ["."]:
.: -: no Go files in /home/runner/work/ipctl/ipctl
make: *** [Makefile:105: licenses] Error 1
Reproduction Steps
- Run
make licensesfrom the project root - Observe the failure
Expected Behavior
make licenses should generate the NOTICE file and check license headers without errors.
Environment
- OS: Ubuntu (GitHub Actions runner)
- Version: latest
- Go Version (if applicable): stable (via setup-go@v6)
Root Cause
Two issues in the license tooling:
-
Makefile line 105 uses
go-licenses report .which targets the root package. The project root has no.gofiles (entry point is./cmd/ipctl), sogo-licensesfails. -
Version mismatch: The CI workflow (
.github/workflows/premerge.yamlline 25) installsgo-licenses@latest(v1), while the Makefiledependenciestarget installsgo-licenses/v2@latest.
Checklist
- I have checked existing issues to avoid duplicates
- I have provided a clear description of the issue
- I have included steps to reproduce (if applicable)
- I have included relevant environment details
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels