Skip to content

Merge pull request #382 from Pet-projects-CodePET/add/filter-for-profile #576

Merge pull request #382 from Pet-projects-CodePET/add/filter-for-profile

Merge pull request #382 from Pet-projects-CodePET/add/filter-for-profile #576

Workflow file for this run

name: Code cheсks
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install Poetry
uses: snok/[email protected]
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- name: Configure poetry
run: poetry config virtualenvs.in-project true
- name: Install dependencies
run: poetry install
if: steps.cache-poetry.outputs.cache-hit != 'true'
- name: Run black
run: |
poetry add black --dev
poetry run black --check .