Caching & Dependencies
Go jobs are cache-aware and keep Go module metadata aligned with workspace dependencies.
Cache inputs
| Job | Inputs |
|---|---|
build |
**/*.go, go.mod, go.sum, go.work, package.json |
test |
**/*.go, go.mod, go.sum, go.work, package.json |
lint |
**/*.go, go.mod, go.work, .golangci.yml, .golangci.yaml, package.json |
serve |
depends on build, never cached |
Dependency sync
Build can refresh dependencies unless --skip-deps is set. That keeps:
go.modgo.sum- workspace dependency metadata
aligned with the Putnami project graph.
Final branch check
Use the workspace-level impacted command before merging:
putnami lint,test,build --impacted