Repository navigation
Merge pull request #9 from gematik/fix/migration #24
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 Format | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| black: | |
| name: Black | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.x" | |
| - name: Install pipx | |
| run: sudo apt update && sudo apt install pipx && pipx ensurepath | |
| - name: Install Black | |
| run: pipx install --global black | |
| - name: Check formatting | |
| run: black --check --diff --include='.*\.py' . |