Skip to content

Bump django from 5.2.6 to 5.2.9 in the pip group across 1 directory #1421

Bump django from 5.2.6 to 5.2.9 in the pip group across 1 directory

Bump django from 5.2.6 to 5.2.9 in the pip group across 1 directory #1421

Workflow file for this run

# This workflow tests the project for proper linting
name: Lint and check all
on:
push:
branches:
- '**' # matches every branch
pull_request:
branches:
- '**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Branch
uses: actions/checkout@v4
- name: Install dependencies for linting
run: |
sudo apt-get update -y
sudo apt-get install -y python3-dev npm pycodestyle bandit pylint yamllint shellcheck
sudo npm install -g jshint
sudo npm install -g @stoplight/spectral-cli
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Set env for .venv in project
run: echo "PIPENV_VENV_IN_PROJECT=1" >> $GITHUB_ENV
- name: Install Pipenv
run: pip install --upgrade pipenv
- name: Restore Pipenv cache
id: pipenv-cache
uses: actions/cache@v3
with:
path: .venv
key: pipenv-${{ hashFiles('Pipfile.lock') }}
# Note: This has to be executed with retries, as network errors might occur (e.g. the github runner being rate limited)
- name: Install cacheable dependencies
if: steps.pipenv-cache.outputs.cache-hit != 'true'
uses: Wandalen/wretry.action@master
with:
command: pipenv install --deploy --ignore-pipfile --dev
attempt_limit: 3
- name: Run check_project.sh
run: |
./dev-tools/check_project.sh
env:
PIPENV_VENV_IN_PROJECT: "True"
DJANGO_SECRET_KEY: $(python3 -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())')
DATABASE_NAME: "embark"
DATABASE_USER: "embark"
DATABASE_PASSWORD: "embark"
DATABASE_HOST: "127.0.0.1"
DATABASE_PORT: "3306"
MYSQL_PASSWORD: "embark"
MYSQL_USER: "embark"
MYSQL_DATABASE: "embark"
REDIS_HOST: "127.0.0.1"
REDIS_PORT: "7777"
SECRET_KEY: "$DJANGO_SECRET_KEY"
HASHID_SALT: "EMBArk1234§$S@lt"
DJANGO_SUPERUSER_PASSWORD: "embark"
DJANGO_SUPERUSER_USERNAME: "superuser"
DJANGO_SUPERUSER_EMAIL: "[email protected]"