Add vimscript linter as CI check

This commit is contained in:
Caleb Maclennan 2019-12-30 10:40:47 +03:00
parent 8786861a3c
commit 8a68872933
No known key found for this signature in database
GPG Key ID: 63CC496475267693
2 changed files with 19 additions and 1 deletions

18
.github/workflows/vint.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Vint
on: [push, pull_request]
jobs:
vint:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Setup dependencies
run: pip install vim-vint
- name: Run Vimscript Linter
run: vint .

View File

@ -1,4 +1,4 @@
# NERD Commenter
# NERD Commenter [![Vint](https://github.com/preservim/nerdcommenter/workflows/Vint/badge.svg)](https://github.com/preservim/nerdcommenter/actions?workflow=Vint)
Comment functions so powerful—no comment necessary.