requirements(deps): bump requests from 2.31.0 to 2.32.1 #3261
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
# Copyright (C) 2021 Sebastian Pipping <sebastian@pipping.org> | |
# Licensed under GNU Affero GPL v3 or later | |
name: Build and test using Docker | |
# Drop permissions to minimum, for security | |
permissions: | |
contents: read | |
on: | |
pull_request: | |
push: | |
schedule: | |
- cron: '0 16 * * 5' # Every Friday 4pm | |
workflow_dispatch: | |
jobs: | |
build_and_test: | |
name: Build and test using Docker | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 | |
with: | |
python-version: 3.12 | |
- name: Install dependencies | |
run: |- | |
pip install \ | |
--disable-pip-version-check \ | |
--user \ | |
--no-warn-script-location \ | |
'docker<7' \ | |
'PyYAML==5.3.1' \ | |
'requests<2.32.0' \ | |
'urllib3<2' \ | |
docker-compose | |
echo "PATH=${HOME}/.local/bin:${PATH}" >> "${GITHUB_ENV}" | |
- name: Configure Docker environment | |
run: |- | |
docker network create --internal ssl-reverse-proxy | |
tee .env <<-EOF | |
WDN_POSTGRES_NAME=wdn111 | |
WDN_POSTGRES_USER=wdn222 | |
WDN_POSTGRES_PASSWORD=wdn333 | |
WDN_SECRET_KEY=wdn444 | |
EOF | |
- name: Build Docker image | |
run: |- | |
docker-compose build | |
- name: Run tests using Docker | |
run: |- | |
docker-compose run wnpp-debian-net test -v2 |