Skip to content

Merge pull request #90 from lichess-org/dependabot/github_actions/aba… #377

Merge pull request #90 from lichess-org/dependabot/github_actions/aba…

Merge pull request #90 from lichess-org/dependabot/github_actions/aba… #377

Workflow file for this run

name: Format
on:
push:
branches: ["master"]
paths:
- ".github/workflows/format.yml"
- "**.py"
- ".editorconfig"
pull_request:
paths:
- ".github/workflows/format.yml"
- "**.py"
- ".editorconfig"
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up latest python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Set up poetry
uses: abatilo/actions-poetry@v4
- name: Install dependencies
run: poetry install --with dev
- name: Check formatting
run: poetry run black berserk tests check-endpoints.py --check