chore: bump version to 1.0.0 #82
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
| # melpazoid <https://github.com/riscy/melpazoid> build checks. | |
| name: melpazoid | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| env: | |
| MISE_YES: "1" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Cache mise installs | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.local/share/mise/installs | |
| key: mise-${{ runner.arch }}-bun-python-uv-ruff | |
| - name: Install mise and tools | |
| env: | |
| GITHUB_TOKEN: "" | |
| run: | | |
| curl https://mise.run | sh | |
| mise use -g bun@latest python@3.10 uv@latest ruff@latest | |
| mise install | |
| echo "$HOME/.local/share/mise/shims" >> "$GITHUB_PATH" | |
| - name: Cache bun dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.bun/install/cache | |
| key: bun-${{ runner.arch }}-${{ hashFiles('bun.lock') }} | |
| restore-keys: bun-${{ runner.arch }}- | |
| - name: Cache uv packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/uv | |
| key: uv-cache-${{ runner.arch }}-${{ hashFiles('pyproject.toml') }} | |
| restore-keys: uv-cache-${{ runner.arch }}- | |
| - name: Install Emacs | |
| run: | | |
| sudo apt-get update && sudo apt-get install -y emacs | |
| emacs --version | |
| - name: Install LSP servers | |
| run: | | |
| uv tool install basedpyright | |
| uv tool install rassumfrassum | |
| uv tool install ty | |
| - name: Install Melpazoid | |
| run: | | |
| python -m pip install --upgrade pip | |
| git clone https://github.com/riscy/melpazoid.git ~/melpazoid | |
| pip install ~/melpazoid | |
| - name: Install project dependencies | |
| run: bun install | |
| - name: Check | |
| run: bun run check | |
| - name: Test | |
| run: | | |
| export LIVE_TEST_JOBS=$(nproc) | |
| bun run test:all | |
| - name: Run Melpazoid | |
| run: | | |
| RECIPE="$(tr '\n' ' ' < eglot-python-preset.recipe)" | |
| export LOCAL_REPO="${{ github.workspace }}" | |
| export RECIPE | |
| export EXIST_OK=true | |
| echo "$GITHUB_REF" | |
| make -C ~/melpazoid |