mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2025-12-15 00:16:43 +03:00
Compare commits
8 Commits
pre-commit
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7eced183e4 | ||
|
|
65a0e29112 | ||
|
|
6e3f82d112 | ||
|
|
fa41363048 | ||
|
|
e0bba121ff | ||
|
|
3bb1ad89a6 | ||
|
|
b999d34b1e | ||
|
|
e9519d0e05 |
2
.github/workflows/build_docker_images.yml
vendored
2
.github/workflows/build_docker_images.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
# Get the repository's code
|
# Get the repository's code
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
# Generate docker tags
|
# Generate docker tags
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
|
|||||||
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Set up Python ${{ env.PYTHON_VERSION }}
|
- name: Set up Python ${{ env.PYTHON_VERSION }}
|
||||||
uses: actions/setup-python@v6
|
uses: actions/setup-python@v6
|
||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
run: python -m hatch build
|
run: python -m hatch build
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: sdist-and-wheel
|
name: sdist-and-wheel
|
||||||
path: dist/*
|
path: dist/*
|
||||||
@@ -104,7 +104,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Clone PyApp
|
- name: Clone PyApp
|
||||||
run: git clone --depth 1 --branch $PYAPP_VERSION https://github.com/ofek/pyapp $PYAPP_REPO
|
run: git clone --depth 1 --branch $PYAPP_VERSION https://github.com/ofek/pyapp $PYAPP_REPO
|
||||||
@@ -141,7 +141,7 @@ jobs:
|
|||||||
hatch --version
|
hatch --version
|
||||||
|
|
||||||
- name: Get artifact
|
- name: Get artifact
|
||||||
uses: actions/download-artifact@v5
|
uses: actions/download-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: sdist-and-wheel
|
name: sdist-and-wheel
|
||||||
path: ${{ github.workspace }}/dist
|
path: ${{ github.workspace }}/dist
|
||||||
@@ -165,7 +165,7 @@ jobs:
|
|||||||
continue-on-error: true # Continue if attestation fails (it will fail on forks)
|
continue-on-error: true # Continue if attestation fails (it will fail on forks)
|
||||||
|
|
||||||
- name: Upload built binary package
|
- name: Upload built binary package
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: binaries-${{ matrix.job.release_suffix }}
|
name: binaries-${{ matrix.job.release_suffix }}
|
||||||
path: dist/binary/*
|
path: dist/binary/*
|
||||||
@@ -181,7 +181,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Get artifact
|
- name: Get artifact
|
||||||
uses: actions/download-artifact@v5
|
uses: actions/download-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: sdist-and-wheel
|
name: sdist-and-wheel
|
||||||
path: dist
|
path: dist
|
||||||
@@ -200,7 +200,7 @@ jobs:
|
|||||||
if: github.event_name == 'release' && github.event.action == 'published'
|
if: github.event_name == 'release' && github.event.action == 'published'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v5
|
- uses: actions/download-artifact@v6
|
||||||
name: Get artifact
|
name: Get artifact
|
||||||
with:
|
with:
|
||||||
path: dist
|
path: dist
|
||||||
|
|||||||
2
.github/workflows/update_docker_readme.yml
vendored
2
.github/workflows/update_docker_readme.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
# Get the repository's code
|
# Get the repository's code
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
# Update description
|
# Update description
|
||||||
- name: Update repo description
|
- name: Update repo description
|
||||||
|
|||||||
@@ -19,13 +19,13 @@ repos:
|
|||||||
- id: mixed-line-ending # replaces or checks mixed line ending
|
- id: mixed-line-ending # replaces or checks mixed line ending
|
||||||
- id: trailing-whitespace # checks for trailing whitespace
|
- id: trailing-whitespace # checks for trailing whitespace
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.14.8
|
rev: v0.12.12
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: [ --fix, --exit-non-zero-on-fix ]
|
args: [ --fix, --exit-non-zero-on-fix ]
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
- repo: https://github.com/igorshubovych/markdownlint-cli
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
||||||
rev: v0.46.0
|
rev: v0.45.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: markdownlint
|
- id: markdownlint
|
||||||
args: ["--fix"]
|
args: ["--fix"]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
FROM python:3.13-alpine3.21 AS base
|
FROM python:3.14-alpine3.23 AS base
|
||||||
|
|
||||||
FROM base AS compiler
|
FROM base AS compiler
|
||||||
|
|
||||||
@@ -19,9 +19,9 @@ RUN apk add --no-cache gcc musl-dev && \
|
|||||||
pip install -r requirements.txt && \
|
pip install -r requirements.txt && \
|
||||||
pip uninstall -y pip wheel && \
|
pip uninstall -y pip wheel && \
|
||||||
apk del gcc musl-dev && \
|
apk del gcc musl-dev && \
|
||||||
python3 -m compileall -b -f /usr/local/lib/python3.13/site-packages && \
|
python3 -m compileall -b -f /usr/local/lib/python3.14/site-packages && \
|
||||||
find /usr/local/lib/python3.13/site-packages -name "*.py" -type f -delete && \
|
find /usr/local/lib/python3.14/site-packages -name "*.py" -type f -delete && \
|
||||||
find /usr/local/lib/python3.13/ -name "__pycache__" -type d -exec rm -rf {} +
|
find /usr/local/lib/python3.14/ -name "__pycache__" -type d -exec rm -rf {} +
|
||||||
|
|
||||||
FROM base
|
FROM base
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user