Skip to content

Keep Metadata analysis scoped and direct #169

Keep Metadata analysis scoped and direct

Keep Metadata analysis scoped and direct #169

Workflow file for this run

name: Neovim integration
on:
pull_request:
paths-ignore:
- CHANGELOG.md
- LICENSE
- README.md
- SECURITY.md
- THIRD_PARTY_LICENSES/**
- THIRD_PARTY_NOTICES.md
- box.json
- docs/**
- editor/vscode/**
- editor/zed/**
push:
branches: [main]
paths-ignore:
- LICENSE
- README.md
- SECURITY.md
- THIRD_PARTY_LICENSES/**
- THIRD_PARTY_NOTICES.md
- box.json
- docs/**
- editor/vscode/**
- editor/zed/**
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
format:
name: Lua formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: JohnnyMorganz/stylua-action@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: 2.5.2
args: --config-path editor/neovim/.stylua.toml --check editor/neovim
headless:
name: Neovim ${{ matrix.neovim }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
neovim: ['0.11.3', '0.12.4']
steps:
- uses: actions/checkout@v7
- uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
coverage: none
- uses: ramsey/composer-install@v4
- name: Build the Tree-sitter extension
run: composer tree-sitter:build
- name: Install the compatibility application
working-directory: tests/Fixtures/RuntimeApplication
run: composer update --no-interaction --no-progress --with-all-dependencies
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: v${{ matrix.neovim }}
- name: Run Neovim tests
run: ./editor/neovim/test