Setup GitHub Actions to lint vimscript

This commit is contained in:
Caleb Maclennan 2019-10-22 17:08:25 +03:00
parent 61bee90638
commit 3c63890ce0
2 changed files with 27 additions and 0 deletions

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

@ -0,0 +1,22 @@
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 .

5
.vintrc.yaml Normal file
View File

@ -0,0 +1,5 @@
cmdargs:
severity: style_problem
color: true
env:
neovim: false