Упрощены GHA workflows #271
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Black | |
on: [ pull_request ] | |
jobs: | |
black: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository. | |
uses: actions/checkout@v4 | |
- name: Setup Python. | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.7 | |
- name: Install dependencies. | |
run: pip install black | |
- name: Check code style of tests. | |
run: black --config=black.toml --check tests | |
- name: Check code style of package. | |
run: black --config=black.toml --check yandex_music |