refactor(v2): perf improvements, float backend, minimap #66
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: | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| quality: | |
| name: Quality | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Install StyLua and Selene | |
| uses: taiki-e/install-action@2ca9b94c269419b7b0c711c09d0b21c4e1d51145 # v2.83.1 | |
| with: | |
| tool: stylua@2.5.2,selene@0.31.0 | |
| - name: Install Lua language server | |
| env: | |
| LUALS_VERSION: 3.15.0 | |
| run: | | |
| curl --fail --location --silent --show-error \ | |
| "https://github.com/LuaLS/lua-language-server/releases/download/${LUALS_VERSION}/lua-language-server-${LUALS_VERSION}-linux-x64.tar.gz" \ | |
| --output /tmp/lua-language-server.tar.gz | |
| mkdir /tmp/lua-language-server | |
| tar -xzf /tmp/lua-language-server.tar.gz -C /tmp/lua-language-server | |
| echo "/tmp/lua-language-server/bin" >> "$GITHUB_PATH" | |
| - name: Check formatting | |
| run: make format-check | |
| - name: Lint | |
| run: make lint | |
| - name: Typecheck | |
| run: make typecheck | |
| test: | |
| name: Neovim ${{ matrix.neovim }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| neovim: | |
| - v0.11.4 | |
| - stable | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Install Neovim | |
| uses: rhysd/action-setup-vim@febef33995d6649302e9d88dda81e071b68f16a7 # v1.6.1 | |
| with: | |
| neovim: true | |
| version: ${{ matrix.neovim }} | |
| - name: Test | |
| run: make test | |
| nightly: | |
| name: Neovim nightly | |
| runs-on: ubuntu-latest | |
| continue-on-error: true | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Install Neovim nightly | |
| uses: rhysd/action-setup-vim@febef33995d6649302e9d88dda81e071b68f16a7 # v1.6.1 | |
| with: | |
| neovim: true | |
| version: nightly | |
| - name: Test | |
| run: make test |