Merge pull request #21 from CCQC/MitchSandbox #7
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: Lint | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.9] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Python Setup | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Create Environment | |
shell: bash | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install black==22.10 # pinned because the style changes with version | |
- name: Lint | |
shell: bash | |
run: black concordantmodes --check | |