Bump tj-actions/branch-names from 5 to 8 in /.github/workflows #1504
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: Formatting Checks | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
- sims2cloud | |
pull_request: | |
branches: | |
- main | |
- develop | |
- sims2cloud | |
jobs: | |
run-black: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Get the latest pip and black | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install black --upgrade | |
- uses: actions/checkout@v2 | |
- name: Run black | |
run: python -m black -l 100 tests flamingpy doc --check |