Merge pull request #508 from una-auxme/488-feature-split-up-acting--c… #279
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: Check code format | |
on: | |
pull_request: | |
branches: | |
- "main" | |
push: | |
branches: | |
- main | |
jobs: | |
format: | |
name: Check code format | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v2 | |
# Execute the python formatter | |
- name: Run the python formatter | |
uses: addnab/docker-run-action@v3 | |
with: | |
image: pyfound/black | |
options: -v ${{ github.workspace}}:/apps | |
run: black --check ./apps/ |