Add eon_lsp language server, Zed extension CI, and eonfmt stdin support #26
Workflow file for this run
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
| on: | |
| push: | |
| branches: | |
| - "main" | |
| pull_request: | |
| types: [opened, synchronize] | |
| name: Eon Zed Extension | |
| jobs: | |
| tree_sitter: | |
| name: Tree-sitter Grammar | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: tree-sitter-eon | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: "npm" | |
| cache-dependency-path: tree-sitter-eon/package-lock.json | |
| - run: npm ci | |
| - run: npm run generate | |
| - run: npm test | |
| zed_extension: | |
| name: Zed Extension WASM Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| toolchain: 1.85.0 | |
| override: true | |
| target: wasm32-wasip2 | |
| - name: Check extension on wasm32-wasip2 | |
| run: cargo check --target wasm32-wasip2 --manifest-path zed-extension/Cargo.toml |