]> git.madduck.net Git - etc/vim.git/blob - .github/workflows/lint.yml

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Fix GitHub markdown links to work on RTD (#1752)
[etc/vim.git] / .github / workflows / lint.yml
1 name: Lint
2
3 on: [push, pull_request]
4
5 jobs:
6   build:
7     runs-on: ubuntu-latest
8     strategy:
9       matrix:
10         python-version: [3.7]
11
12     steps:
13       - uses: actions/checkout@v2
14
15       - name: Set up Python ${{ matrix.python-version }}
16         uses: actions/setup-python@v2
17         with:
18           python-version: ${{ matrix.python-version }}
19
20       - name: Install dependencies
21         run: |
22           python -m pip install --upgrade pip
23           python -m pip install --upgrade pre-commit
24           python -m pip install -e '.[d]'
25
26       - name: Lint
27         run: pre-commit run --all-files --show-diff-on-failure