Skip to content

rewrite skills to use json. update execute skill #14

rewrite skills to use json. update execute skill

rewrite skills to use json. update execute skill #14

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Download dependencies
run: go mod download
- name: Verify generated schema is up to date
run: |
go generate ./...
if ! git diff --exit-code internal/spec/extracted_gen.go; then
echo "::error::internal/spec/extracted_gen.go is stale. Run 'go generate ./...' and commit the result."
exit 1
fi
- name: Run tests
run: go test ./... -v -race -coverprofile=coverage.out
- name: Upload coverage
uses: actions/upload-artifact@v4
with:
name: coverage
path: coverage.out