Skip to content

build(deps-dev): bump requests from 2.31.0 to 2.32.2 #357

build(deps-dev): bump requests from 2.31.0 to 2.32.2

build(deps-dev): bump requests from 2.31.0 to 2.32.2 #357

Workflow file for this run

name: Lint and Build
on:
pull_request:
branches: [master]
push:
release:
types:
- created
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies
run: |
pip install -r dev-requirements.txt
- name: Run pre-commit
uses: pre-commit/action@v3.0.1
with:
extra_args: --verbose --all-files
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies
run: |
pip install -r dev-requirements.txt
- run: flit build
deploy:
name: Deploy to PyPi
runs-on: ubuntu-latest
needs:
- lint
- build
if: ${{ github.event_name == 'release' && github.event.action == 'created' }}
env:
FLIT_USERNAME: "__token__"
FLIT_PASSWORD: ${{ secrets.PYPI_DEPLOY_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies
run: |
pip install -r dev-requirements.txt
- run: flit build
- run: flit publish