fix: analyzer false positives, MCP cross-file diagnostics, macro expansion, and semantic audit #462
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 Tests | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint-and-test: | |
| name: Lint & Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.25" | |
| cache: true | |
| - name: Download dependencies | |
| run: go mod download | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v9 | |
| with: | |
| version: v2.6 | |
| args: --timeout=5m ./... | |
| - name: Tests | |
| run: make test | |
| - name: Race detection (debugger) | |
| run: go test -race -count=1 ./lisp/x/debugger/... | |
| - name: Check formatting | |
| run: | | |
| go build -o elps . | |
| ./elps fmt -l --exclude 'grammar' ./... | |
| - name: Lint ELPS source | |
| run: ./elps lint --workspace=. --exclude 'grammar' --include '_examples' ./... | |
| - name: Check missing documentation | |
| run: ./elps doc -m |