docs: require tests and linter pass before committing
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
fb8e22a767
commit
4e8aa562a3
1 changed files with 6 additions and 0 deletions
|
|
@ -13,6 +13,12 @@ go test -tags acceptance ./acceptance # Acceptance tests
|
|||
make lint # golangci-lint (same as CI)
|
||||
```
|
||||
|
||||
**Before committing, ensure both tests and linter pass:**
|
||||
```bash
|
||||
go test ./...
|
||||
make lint
|
||||
```
|
||||
|
||||
## Architecture
|
||||
|
||||
Entry point: `cmd/gh/main.go` → `internal/ghcmd.Main()` → `pkg/cmd/root.NewCmdRoot()`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue