aboutsummaryrefslogtreecommitdiff
path: root/libs/plugin_python/.github/workflows/linting.yml
blob: 70b5bcaa1ff2b9ced2ccec0e78ee906d8dacc2e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Lint Plugin Python

on:
  push:
  pull_request:
    types: [opened, synchronize, reopened]

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Check format
        uses: ModOrganizer2/check-formatting-action@master
        with:
          check-path: "."
      - uses: actions/setup-python@v4
        with:
          python-version: "3.12"
      - uses: abatilo/actions-poetry@v2
      - name: Check format Python tests
        run: |
          poetry install --no-root
          poetry run poe lint