fix(lua): fix luals warnings #1
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: | ||
| branches: | ||
| - "main" | ||
| workflow_dispatch: | ||
| concurrency: | ||
| group: ${{ github.workflow }}-build-${{ github.ref }} | ||
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | ||
| defaults: | ||
| run: | ||
| shell: bash | ||
| jobs: | ||
| check_compilation: | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| os: [ubuntu-latest] | ||
| nvim_tag: [nightly] | ||
| name: ${{ matrix.os }} | ||
| runs-on: ${{ matrix.os }} | ||
| env: | ||
| NVIM: ' | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: tree-sitter/setup-action/cli@v1 | ||
| - uses: ilammy/msvc-dev-cmd@v1 | ||
| - name: Install and prepare Neovim | ||
| env: | ||
| NVIM_TAG: ${{ matrix.nvim_tag }} | ||
| run: | | ||
| bash ./scripts/ci-install.sh | ||
| - name: Setup Parsers Cache | ||
| id: parsers-cache | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: ~/.local/share/nvim/site/parser/ | ||
| key: parsers-${{ hashFiles('parsers.lua') }} | ||
| - name: Compile parsers | ||
| if: steps.parsers-cache.outputs.cache-hit != 'true' | ||
| run: $NVIM -l ./scripts/install-parsers.lua --max-jobs=10 | ||
| - name: Check queries | ||
| run: make checkquery | ||
| - name: Run tests | ||
| run: make tests | ||