view vendor/vim-packs/srcery-vim/.github/workflows/lint.yaml @ 727:49538e2aad65 default tip

Add a useful editrc
author nanaya <me@nanaya.net>
date Tue, 24 Sep 2024 16:58:15 +0900
parents 78469331407e
children
line wrap: on
line source

---
name: Check Them Vim Files

on:
  push:
  pull_request:
    branches: [$default-branch]

jobs:
  lint:
    runs-on: ubuntu-latest
    name: Linting
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        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')