summaryrefslogtreecommitdiffstats
path: root/.github/workflows/lint.yml
blob: ac32d61d291e05c31909a8fcbb206d49a0aea1e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Lint

on: [push]

jobs:
  run-linters:
    runs-on: ubuntu-22.04
    steps:
      - name: Checkout source code
        uses: actions/checkout@v4

      - name: Set up Poetry
        run: pipx install poetry==1.8.4

      - name: Set up Python
        uses: actions/setup-python@v5
        with:
          python-version: 3.13
          cache: "poetry"

      - name: Install Dependencies
        run: poetry install --only=dev --only=lint

      - name: Run linters
        run: poetry run task lint