switch CI to uv
Some checks failed
CI/CD / wol (push) Successful in 0s
CI/CD / build (push) Failing after 35s

This commit is contained in:
2025-09-12 21:43:52 +02:00
parent d89c296d36
commit 4113a808ae

View File

@@ -16,17 +16,19 @@ jobs:
sleep 5 sleep 5
done done
build: build:
runs-on: ubuntu-latest runs-on: galactica
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up Python - name: Set up Python 3.12
uses: actions/setup-python@v5 uses: actions/setup-python@v4
with: with:
python-version: '3.12' python-version: "3.12"
cache: 'pip' - name: Install uv
- run: pip install -r requirements.txt uses: astral-sh/setup-uv@v6
- name: Set up Python
run: uv python install
- name: Install the code linting and formatting tool Ruff - name: Install the code linting and formatting tool Ruff
run: pip install ruff run: uv build
- name: Lint code with Ruff - name: Lint code with Ruff
run: ruff check --output-format=github --target-version=py39 run: ruff check --output-format=github --target-version=py39
- name: Check code formatting with Ruff - name: Check code formatting with Ruff