Skip to content

Migrate to uv

Migrate to uv #295

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
PYTHON_DEFAULT_VERSION: "3.11"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python ${{ env.PYTHON_DEFAULT_VERSION }}
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "0.5.11"
- name: Install nox
run: uv tool install nox
- name: Run linters
run: uv tool run nox -vs lint
check_crufted_project:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python ${{ env.PYTHON_DEFAULT_VERSION }}
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_DEFAULT_VERSION }}
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "0.5.11"
- name: Install nox
run: uv tool install nox
- name: Run checks on project created from template
run: uv tool run nox -vt crufted_project