more rounded corners #63
This file contains hidden or 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: Check Code Formatting with Black | |
| on: [push] | |
| jobs: | |
| check_code_formatting_with_black: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Step 1: Retrieve the latest code version | |
| - name: Checkout Repository | |
| uses: actions/checkout@v6 | |
| # Step 2: Set up the required Python version | |
| - name: Configure Python Environment | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.x' # Specify the target Python version | |
| # Step 3: Install Black code formatter | |
| - name: Install Black | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install black | |
| # Step 4: Check code formatting with Black | |
| - name: Run Black for Code Formatting Check | |
| run: | | |
| black --check . |