chore: migrate to uv #845
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SPDX-FileCopyrightText: 2024 Birger Schacht | |
#SPDX-License-Identifier: MIT | |
name: Run deptry dependency checker | |
on: [push, pull_request] | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
with: | |
version: "0.5.26" | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
- name: Install dependencies | |
run: uv sync --dev | |
- name: Run deptry | |
run: uv run deptry . |