Slack webhook notifications #125
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 Format Check | |
on: | |
pull_request: | |
jobs: | |
black-check: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the repository | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
# Set up Python environment for Black | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
# Install and run Black | |
- name: Install Black | |
run: | | |
python -m pip install --upgrade pip | |
pip install black | |
- name: Run Black check | |
run: black --check . |