refactor: use make in CI, pull module in make docs
Some checks failed
CI / Unit Tests (pull_request) Failing after 8s
CI / Golang Lint (pull_request) Successful in 1m7s
CI / Fuzz Tests (pull_request) Successful in 1m19s
CI / Mutation Tests (pull_request) Successful in 1m54s

Instead of duplicating test logic in both the CI and the Makefile, I made the CI call the Makefile. Also, updated `make docs` so it dynamically pulls the module name from `go list -m`.
This commit is contained in:
2026-03-18 19:29:01 -04:00
parent e53ff4f50b
commit 5c019baa78
2 changed files with 4 additions and 7 deletions

View File

@@ -33,7 +33,7 @@ lint-makefile: ## Lint the Makefile
lint: lint-go lint-makefile ## Lint all code
docs: ## Serve godoc locally
@echo ">>> Visit: http://localhost:6060/pkg/git.maximhutz.com/tools/dsa/"
@echo ">>> Visit: http://localhost:6060/pkg/$$(go list -m)"
godoc -http=:6060
clean: ## Clean build and test caches