ci: generate embedded workspace before vet and tests
Run go generate ./cmd/picoclaw on CI so //go:embed workspace assets exist before go vet and race tests.
This commit is contained in:
parent
11f4a51ea2
commit
ee798bd034
1 changed files with 3 additions and 0 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -29,6 +29,9 @@ jobs:
|
|||
exit 1
|
||||
fi
|
||||
|
||||
- name: Generate embedded workspace files
|
||||
run: go generate ./cmd/picoclaw
|
||||
|
||||
- name: Run go vet
|
||||
run: go vet ./...
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue