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

on: [push, pull_request]

jobs:
  darker-lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - uses: actions/setup-python@v5
      - uses: akaihola/darker@v2.1.1
        with:
          options: "--check --diff --isort --color"
          src: "."
          version: "~=2.1.1"
          lint: "flake8,pylint==2.13.1"