diff vendor/vim-packs/srcery-vim/.github/workflows/lint.yaml @ 704:1e0f578f6752

Update vendor and add support for vim packs
author nanaya <me@nanaya.net>
date Sun, 18 Dec 2022 20:06:46 +0900
parents
children 78469331407e
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vendor/vim-packs/srcery-vim/.github/workflows/lint.yaml	Sun Dec 18 20:06:46 2022 +0900
@@ -0,0 +1,23 @@
+---
+name: Check Them Vim Files
+
+on:
+  push:
+  pull_request:
+    branches: [$default-branch]
+
+jobs:
+  lint:
+    runs-on: ubuntu-latest
+    name: Linting
+    steps:
+      - uses: actions/checkout@v3
+      - uses: actions/setup-python@v4
+        with:
+          python-version: "3.x"
+      - name: Install Vint
+        run: |
+          python -m pip install --upgrade pip setuptools wheel
+          pip install --upgrade vim-vint
+      - name: Vinting code
+        run: vint --verbose --stat $(find . -type f -name '*.vim')