chore: remove the ccg index command (subset of ccg docs) #60
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
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.25' | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: npm | |
| cache-dependency-path: web/wiki/package-lock.json | |
| - name: Configure git for clone/gitops tests | |
| run: | | |
| git config --global init.defaultBranch main | |
| git config --global user.name "CI" | |
| git config --global user.email "ci@example.com" | |
| - name: Run go vet | |
| run: make vet | |
| - name: Run go test | |
| run: CGO_ENABLED=1 go test -tags "fts5" ./... -count=1 | |
| - name: Build release binaries | |
| run: make build | |
| - name: Build Wiki UI | |
| run: make wiki-build | |
| - name: Capture go build JSON | |
| run: make build-json | |
| - name: Check npm wrapper syntax | |
| run: | | |
| node --check npm/install.js | |
| node --check npm/bin/ccg.js | |
| node --check npm/bin/ccg-server.js | |
| - name: Upload go build JSON artifact | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: go-build-json | |
| path: build-results.json |