Bump urllib3 from 2.2.1 to 2.2.2 #1201
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: Code quality | |
on: | |
push: | |
pull_request: | |
types: [opened, reopened] | |
pull_request_target: | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
env: | |
DJANGO_CA_SECRET_KEY: dummy | |
steps: | |
- name: Acquire sources | |
uses: actions/checkout@v4.1.1 | |
- name: Setup Python | |
uses: actions/setup-python@v5.0.0 | |
with: | |
python-version: "3.12" | |
architecture: x64 | |
- name: Apply caching of dependencies | |
uses: actions/cache@v4.0.0 | |
with: | |
path: ~/.cache/pip | |
key: pip-${{ hashFiles('**/requirements-*.txt') }} | |
- name: Install dependencies | |
run: | | |
pip install -U pip setuptools wheel | |
pip install -r requirements.txt | |
pip install -r requirements/requirements-test.txt | |
pip install -r requirements/requirements-lint.txt | |
# Mitigate "Unable to import 'typing_extensions' (import-error)" | |
pip install typing-extensions | |
- name: Install program | |
run: pip install -e . | |
- name: Run black, isort and flake8 | |
run: python dev.py code-quality | |
# Will show outdated dependencies, etc | |
- name: Validate state | |
run: python dev.py validate state | |
- name: Check license headers | |
run: python dev.py validate license-headers | |
- name: Validate sdist/wheel | |
run: | | |
pip install -r requirements/requirements-dist.txt | |
python setup.py sdist bdist_wheel | |
twine check --strict dist/* | |
- name: Run pylint | |
run: pylint --verbose ca/django_ca/ ca/ca/ docs/source/django_ca_sphinx/ devscripts/ |