COLE / .github /workflows /formatting.yml
Yurhu's picture
Initial snapshot upload
75ec748 verified
raw
history blame contribute delete
577 Bytes
name: Formatting
on: [ push, pull_request ]
jobs:
formatting:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.10", "3.11", "3.12" ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -Ur styling_requirements.txt
- name: Formatting
run: |
black --diff --check .