Updated the schema compliance to check only the latest versions #156
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: Black Code Formatter Check | |
| on: | |
| push: | |
| branches: ["*"] | |
| pull_request: | |
| branches: ["*"] | |
| permissions: | |
| contents: read | |
| jobs: | |
| black: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Install Black | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install black>=24.0.0 | |
| - name: Check code formatting with Black | |
| run: | | |
| black --check --diff --workers 1 . |