mirror of
https://github.com/preservim/tagbar.git
synced 2024-11-22 09:03:12 +08:00
Setup GitHub Actions to lint vimscript
This commit is contained in:
parent
61bee90638
commit
3c63890ce0
22
.github/workflows/vint.yml
vendored
Normal file
22
.github/workflows/vint.yml
vendored
Normal 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
5
.vintrc.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
cmdargs:
|
||||
severity: style_problem
|
||||
color: true
|
||||
env:
|
||||
neovim: false
|
Loading…
Reference in New Issue
Block a user