Skip to content

Commit 3c63890

Browse files
committed
Setup GitHub Actions to lint vimscript
1 parent 61bee90 commit 3c63890

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.github/workflows/vint.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Vint
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
vint:
7+
strategy:
8+
fail-fast: false
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@master
15+
- name: Set up Python
16+
uses: actions/setup-python@v1
17+
with:
18+
python-version: 3.7
19+
- name: Setup dependencies
20+
run: pip install vim-vint
21+
- name: Run Vimscript Linter
22+
run: vint .

.vintrc.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
cmdargs:
2+
severity: style_problem
3+
color: true
4+
env:
5+
neovim: false

0 commit comments

Comments
 (0)