summaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
blob: e2d26381c097d1ffc36934dbfc7fe28fb0080c01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name: Lint

on: [push, pull_request]

jobs:
  lint:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-python@v2
        with:
          python-version: 3.x
      - name: Lint
        uses: pre-commit/action@v2.0.0
        with:
          extra_args: --all-files --show-diff-on-failure