view vendor/vim-packs/srcery-vim/.github/workflows/lint.yaml @ 736:3281fed2e242

Use xdg (.config) path instead of top home directory
author nanaya <me@nanaya.net>
date Thu, 09 Jan 2025 03:13:02 +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')