aboutsummaryrefslogtreecommitdiff
path: root/libs/basic_games/.github/workflows/linters.yml
blob: 711a3a7992a5fa03c11b765ae05ae8c0c0bdb394 (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: linters

on: [push, pull_request]

jobs:
  checks:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          path: "basic_games"
      - name: Set up Python
        uses: actions/setup-python@v2
        with:
          python-version: 3.12
      - uses: abatilo/actions-poetry@v2
      - name: Install
        run: |
          cd basic_games
          poetry --no-root install
      - name: Lint
        run: |
          cd basic_games
          poetry run poe lint