change order of linked_orgs to reflect priority of organisations #450
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: Python linting | |
on: [push, pull_request] | |
jobs: | |
django-lint: | |
runs-on: ubuntu-latest | |
env: | |
SECRET_KEY: 1234567890 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Parse Python version | |
run: sed s/python-// runtime.txt | head > .python-version | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version-file: ".python-version" | |
cache: "pip" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: ruff | |
run: | | |
ruff check . | |
ruff format . --check |