Skip to content

docs: Add dynamic filetype config to comparison table #337

docs: Add dynamic filetype config to comparison table

docs: Add dynamic filetype config to comparison table #337

Workflow file for this run

---
name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
commit_lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: webiny/[email protected]
stylua:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: JohnnyMorganz/stylua-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
args: --color always --check lua/ tests/
luacheck:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Prepare
run: |
sudo apt-get update
sudo apt-get install -y luarocks
sudo luarocks install luacheck
- name: Lint
run: luacheck lua/
selene:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install selene
run: cargo install selene
- name: Run selene
run: selene lua/ tests/
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: stevearc/nvim-typecheck-action@v2
with:
path: lua/
unit_test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
neovim_branch: ["v0.9.5", "stable", "nightly"]
steps:
- uses: actions/checkout@v4
- name: Install Neovim
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.neovim_branch }}
- name: Install dependent repos
run: |
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ~/.local/share/nvim/site/pack/vendor/start/plenary.nvim
git clone --depth 1 https://github.com/nvim-treesitter/nvim-treesitter ~/.local/share/nvim/site/pack/vendor/start/nvim-treesitter
git clone --depth 1 https://github.com/echasnovski/mini.nvim ~/.local/share/nvim/site/pack/vendor/start/mini.nvim
- name: Run tests
run: |
make test
urlchecker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install urlchecker
run: |
python -m pip install urlchecker
# The exclude pattern below is the video, which does exist but for some reason urlchecker doesn't like it.
- name: Run urlchecker
run: |
urlchecker check \
--branch main \
--no-print \
--exclude-patterns e1a8b93b-0c8f-4f02-86e8-cbe1d476940c \
--file-types .md \
--retry-count 1 \
--timeout 5 \
.