From 3c63890ce0760a5a45358be13588455f23fe8133 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Tue, 22 Oct 2019 17:08:25 +0300 Subject: [PATCH] Setup GitHub Actions to lint vimscript --- .github/workflows/vint.yml | 22 ++++++++++++++++++++++ .vintrc.yaml | 5 +++++ 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/vint.yml create mode 100644 .vintrc.yaml diff --git a/.github/workflows/vint.yml b/.github/workflows/vint.yml new file mode 100644 index 0000000..73127b9 --- /dev/null +++ b/.github/workflows/vint.yml @@ -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 . diff --git a/.vintrc.yaml b/.vintrc.yaml new file mode 100644 index 0000000..c44b6ab --- /dev/null +++ b/.vintrc.yaml @@ -0,0 +1,5 @@ +cmdargs: + severity: style_problem + color: true + env: + neovim: false