Adding the MacOS to CI (#1713) #6087
Workflow file for this run
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 | |
on: [push, pull_request] | |
# use workaround due to: https://github.com/psf/black/issues/2079#issuecomment-812359146 | |
jobs: | |
check-formatting: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Install Black | |
run: pip install 'black==22.6.0' | |
- name: Run black --check . | |
run: black --check . |