view vendor/vim-packs/srcery-vim/.github/workflows/lint.yaml @ 746:6b7f6f09b8d1 default tip

[vimrc] fix php syntax highlight Example file: https://github.com/ppy/osu-web/blob/e23658f45ac2e85d78bd339947e0d1cee57629c6/app/Libraries/BBCodeFromDB.php (around the end)
author nanaya <me@nanaya.net>
date Wed, 29 Oct 2025 12:28:45 +0900
parents a02f25ddadfe
children
line wrap: on
line source

---
name: Check Them Vim Files

on: # yamllint disable-line
  push:
  pull_request:
    branches: [$default-branch]

jobs:
  lint:
    runs-on: ubuntu-latest
    name: Linting
    steps:
      - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
      - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
        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')