Skip to content

docs: scope bundled plugin compatibility #9

docs: scope bundled plugin compatibility

docs: scope bundled plugin compatibility #9

name: Compatibility Smoke
on:
push:
pull_request:
jobs:
whitespace:
name: Whitespace diff check
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check whitespace in committed diff
run: |
if [ "${{ github.event_name }}" = "pull_request" ]; then
git diff --check "origin/${{ github.base_ref }}...HEAD"
elif [ "${{ github.event.before }}" != "0000000000000000000000000000000000000000" ]; then
git diff --check "${{ github.event.before }}..HEAD"
else
git diff-tree --check --no-commit-id --root -r HEAD
fi
lint:
name: Vimscript lint
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Install Python venv support
run: sudo apt-get update && sudo apt-get install -y python3-venv
- name: Run Vimscript lint
run: yarn lint
smoke:
name: Targeted Vim smoke check
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Install Vim
run: sudo apt-get update && sudo apt-get install -y vim
- name: Verify Vim capabilities
run: node scripts/vim-version.js
- name: Report Yarn version
run: yarn --version
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run targeted smoke check
run: yarn test:smoke
known-passing-formatting:
name: Known-passing formatting fixtures
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Install Vim
run: sudo apt-get update && sudo apt-get install -y vim
- name: Verify Vim capabilities
run: node scripts/vim-version.js
- name: Report Yarn version
run: yarn --version
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run known-passing formatting fixtures
run: yarn test:formatting:passing
quarantined-formatting-discovery:
name: Quarantined Lua/Ruby formatting discovery
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Install Vim
run: sudo apt-get update && sudo apt-get install -y vim
- name: Report Yarn version
run: yarn --version
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run quarantined Lua/Ruby formatting discovery
run: yarn test:formatting:quarantined