release: docs-puller v0.2.0 #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # docs-puller CI: gofmt + build + vet + full test suite (exercises the eval_* | |
| # logic against in-repo testdata). The live eval-suite / leaderboard regen needs | |
| # a populated docs corpus and stays a documented local step (see README.md). | |
| name: ci | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.26' | |
| cache: true | |
| - name: Download modules | |
| run: go mod download | |
| - name: gofmt | |
| run: | | |
| unformatted="$(gofmt -l .)" | |
| if [ -n "$unformatted" ]; then | |
| echo "gofmt needed on:" >&2 | |
| echo "$unformatted" >&2 | |
| exit 1 | |
| fi | |
| - name: Build | |
| run: go build -tags sqlite_fts5 ./... | |
| - name: Vet | |
| run: go vet -tags sqlite_fts5 ./... | |
| - name: Test (incl. eval unit tests) | |
| run: go test -tags sqlite_fts5 ./... | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: npm | |
| cache-dependency-path: vscode-extension/package-lock.json | |
| - name: Compile VS Code extension | |
| run: npm ci --prefix vscode-extension && npm run compile --prefix vscode-extension |