- Drop support for Python 3.7. - Use offline geolocation database instead of ip-api.com. - Add support for proxy authentication. - Add pre-compiled binaries. - Refactor the code by a lot. - Simplify config. - Add automatic text encoding detection. - Use TOML instead of INI for configuration. - Add support for using httpbin-compatible services and services which return plain IP address for getting proxy's exit node. - Add support for reading proxy lists from local files. - Add support for saving to json. - Remove support for saving geolocation to txt, use json instead. - Improve parser. - Improve config validation. - Use poetry instead of requirements.txt. - Use venv in start scripts.
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
name: Update dependencies
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: 30 3 * * *
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
update-dependencies:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
include:
|
|
- cmd: pipx run poetry lock --no-interaction
|
|
commit-msg: Update poetry.lock
|
|
branch: update/poetry-lock
|
|
- cmd: pipx run pre-commit autoupdate
|
|
commit-msg: Update .pre-commit-config.yaml
|
|
branch: update/pre-commit-config
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: ${{ matrix.cmd }}
|
|
- uses: peter-evans/create-pull-request@v5
|
|
with:
|
|
token: ${{ secrets.PAT }}
|
|
commit-message: ${{ matrix.commit-msg }}
|
|
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
|
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
|
branch: ${{ matrix.branch }}
|
|
title: ${{ matrix.commit-msg }}
|
|
body:
|