Merge pull request #30 from yaal-coop/issue-12-form-link #10
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 lint | |
on: | |
pull_request: | |
branches: | |
- master | |
- main | |
push: | |
branches: | |
- master | |
- main | |
jobs: | |
black: | |
name: Check black has been run | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup git | |
uses: actions/checkout@v3 | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Install python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r web/requirements.app.txt | |
pip install -r web/requirements.dev.txt | |
- name: Check black has nothing to do | |
run: black . --check |