Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
ci: update workflows (#1353)
NTFSvolume0a3873c12934
diff --git a/.github/workflows/apprise.yml b/.github/workflows/apprise.yamlsimilarity index 100%rename from .github/workflows/apprise.ymlrename to .github/workflows/apprise.yamldiff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yamlsimilarity index 77%rename from .github/workflows/ci.ymlrename to .github/workflows/ci.yamlindex 004d94ee6..51a351f00 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yaml@@ -5,10 +5,18 @@ on:branches:- master- dev+ paths:+ - 'cyberdrop_dl/**/*.py'+ - 'tests/**/*.py'+ - '.github/workflows/ci.yaml'pull_request:branches:- master- dev+ paths:+ - 'cyberdrop_dl/**/*.py'+ - 'tests/**/*.py'+ - '.github/workflows/ci.yaml'workflow_dispatch:jobs:@@ -32,10 +40,10 @@ jobs:steps:- name: Checkout code- uses: actions/checkout@v4+ uses: actions/checkout@v5- name: Set up Python ${{ matrix.python-version }}- uses: actions/setup-python@v5+ uses: actions/setup-python@v6with:python-version: ${{ matrix.python-version }}@@ -47,5 +55,6 @@ jobs:poetry install- name: Run pytest+ timeout-minutes: 10run: |poetry run pytest -v --cov --ignore=tests/test_apprise.pydiff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yamlsimilarity index 50%rename from .github/workflows/codeql-analysis.ymlrename to .github/workflows/codeql-analysis.yamlindex ca5d0016d..c1c155a05 100644--- a/.github/workflows/codeql-analysis.yml+++ b/.github/workflows/codeql-analysis.yaml@@ -33,38 +33,16 @@ jobs:fail-fast: falsematrix:language: [ 'python' ]- # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]- # Learn more about CodeQL language support at https://git.io/codeql-language-supportsteps:- name: Checkout repository- uses: actions/checkout@v3+ uses: actions/checkout@v5# Initializes the CodeQL tools for scanning.- name: Initialize CodeQLuses: github/codeql-action/init@v3with:languages: ${{ matrix.language }}- # If you wish to specify custom queries, you can do so here or in a config file.- # By default, queries listed here will override any specified in a config file.- # Prefix the list here with "+" to use these queries and those in the config file.- # queries: ./path/to/local/query, your-org/your-repo/queries@main-- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).- # If this step fails, then you should remove it and run the build manually (see below)- - name: Autobuild- uses: github/codeql-action/autobuild@v3-- # ℹ️ Command-line programs to run using the OS shell.- # 📚 https://git.io/JvXDl-- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines- # and modify them (or add more) to build your code if your project- # uses a compiled language-- #- run: |- # make bootstrap- # make release- name: Perform CodeQL Analysisuses: github/codeql-action/analyze@v3diff --git a/.github/workflows/create_release.yaml b/.github/workflows/create_release.yamlindex 18a9222ba..269c20f59 100644--- a/.github/workflows/create_release.yaml+++ b/.github/workflows/create_release.yaml@@ -11,7 +11,7 @@ jobs:steps:- name: Checkout repository- uses: actions/checkout@v4+ uses: actions/checkout@v5- name: Check for version tagid: check_tagdiff --git a/.github/workflows/publish-to-pypi.yaml b/.github/workflows/publish-to-pypi.yamlindex ebbdab8fb..cb0fbe626 100644--- a/.github/workflows/publish-to-pypi.yaml+++ b/.github/workflows/publish-to-pypi.yaml@@ -19,7 +19,7 @@ jobs:contents: writesteps:- name: Checkout code- uses: actions/checkout@v4+ uses: actions/checkout@v5- name: Set up Python 3.11.4uses: actions/setup-python@v5diff --git a/.github/workflows/ruff.yaml b/.github/workflows/ruff.yamlindex 0a79381f7..958f31dd7 100644--- a/.github/workflows/ruff.yaml+++ b/.github/workflows/ruff.yaml@@ -5,10 +5,13 @@ jobs:runs-on: ubuntu-lateststeps:- name: checkout code- uses: actions/checkout@v4+ uses: actions/checkout@v5- name: ruff lintuses: astral-sh/ruff-action@v3- name: ruff format check- run: "ruff format --check --diff"+ uses: astral-sh/ruff-action@v3+ with:+ args:+ "format --check --diff"