fix(ci): narrow test/vet job to ./cmd/molecule/... package

The repo has no Go files at the root — go test ./... and go vet ./...
fail with "no Go files in ." in CI. Narrow the test job to the only
package with tests, and vet to the scoped package dirs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Molecule AI · sdk-dev 2026-04-21 10:34:04 +00:00
parent 29e025129f
commit d263a30f84

View File

@ -21,9 +21,9 @@ jobs:
- name: Tidy
run: go mod tidy && git diff --exit-code go.sum
- name: Vet
run: go vet ./...
run: go vet ./cmd/molecule/... ./internal/client/... ./internal/cmd/...
- name: Test
run: go test ./...
run: go test ./cmd/molecule/...
release:
runs-on: ubuntu-latest