Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,13 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up python
id: setup-python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install uv
id: setup-uv
uses: astral-sh/setup-uv@v5
with:
version: latest
python-version: ${{ matrix.python-version }}
cache-suffix: ${{ matrix.python-version }}
python-version: "3.13"
enable-cache: true
- name: Install project
run: uv sync --all-extras --dev
- name: Sphinx build
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,13 @@ jobs:
echo "tag=$tag" >> $GITHUB_OUTPUT
- run: |
echo "tag=${{ steps.vars.outputs.tag }}"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install uv
id: setup-uv
uses: astral-sh/setup-uv@v5
with:
version: latest
python-version: ${{ matrix.python-version }}
cache-suffix: ${{ matrix.python-version }}
python-version: "3.13"
enable-cache: true
- name: Install project
run: uv sync --all-extras --dev
- name: Validate Release Version
Expand All @@ -46,4 +42,4 @@ jobs:
uv build
uv publish
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
7 changes: 1 addition & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,13 @@ jobs:
- name: Verify MKVToolNix installation (Linux and macOS)
if: matrix.os != 'windows-latest'
run: mkvmerge -V
- name: Set up Python
id: setup-python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
id: setup-uv
uses: astral-sh/setup-uv@v5
with:
version: latest
python-version: ${{ matrix.python-version }}
cache-suffix: ${{ matrix.python-version }}
enable-cache: true
- name: Install project
run: uv sync --all-extras --dev
- name: Run tests and collect coverage
Expand Down
5 changes: 2 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,14 @@ repos:
- id: detect-private-key

- repo: https://github.com/astral-sh/uv-pre-commit
rev: '0.6.3'
rev: '0.6.9'
hooks:
- id: uv-lock
- id: uv-export
- id: uv-sync

# Run the Ruff linter.
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.9
rev: v0.11.2
hooks:
# Linter
- id: ruff
Expand Down