-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Checklist
I agree to the terms within the OpenFGA Code of Conduct.
Describe the problem you'd like to have solved
Currently, contributors working on the Go SDK have to manually run commands like go test ./... or check the CI workflow to know how to run linting.
This adds friction for new contributors and makes it less obvious how to verify changes locally before opening a PR.
Adding a Makefile would make it much easier to run tests, lint, and format code consistently.
Describe the ideal solution
Add a Makefile at the root of the repository with the following common targets:
This allows a simple and consistent contributor workflow:
make test # run all unit tests
make lint # run lint checks
make fmt # auto-format Go code
Optionally, the Makefile could include a check target that runs both tests and linters:
check: fmt lint test
Alternatives and current workarounds
No response
References
Much of what needs to be done can be translated to the SDK code from here
Additional context
No response