Skip to content

Bump requests from 2.27.1 to 2.31.0 #59

Bump requests from 2.27.1 to 2.31.0

Bump requests from 2.27.1 to 2.31.0 #59

Workflow file for this run

name: Continuous Integration
on:
pull_request:
branches:
- master
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install poetry
uses: Gr1N/setup-poetry@v9
- name: Install dependencies
run: |
poetry run python -m pip install --upgrade pip
poetry run pip install -U pip setuptools
poetry install
- name: Install komle Plus
run: |
poetry run pip install -U .
lint:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install poetry
uses: Gr1N/setup-poetry@v9
- name: Install dependencies
run: |
poetry install
- name: Lint with darker
run: |
poetry run darker --check --isort .
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install poetry
uses: Gr1N/setup-poetry@v9
- name: Install dependencies
run: |
poetry run python -m pip install --upgrade pip
poetry run pip install -U pip setuptools
poetry install
- name: Install komle Plus
run: |
poetry run pip install -U .
- name: Test with pytest
run: |
poetry run pytest -v
sec:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install poetry
uses: Gr1N/setup-poetry@v9
- name: Install dependencies
run: |
poetry run python -m pip install --upgrade pip
poetry run pip install -U pip setuptools
poetry install
- name: Audit security with pip-audit
run: |
poetry run pip-audit