From 4113a808ae87258f645299214e9103d6066d6ce6 Mon Sep 17 00:00:00 2001 From: Alexandre RIO Date: Fri, 12 Sep 2025 21:43:52 +0200 Subject: [PATCH] switch CI to uv --- .gitea/workflows/tests.yaml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/tests.yaml b/.gitea/workflows/tests.yaml index ce46ac7..e03584c 100644 --- a/.gitea/workflows/tests.yaml +++ b/.gitea/workflows/tests.yaml @@ -16,17 +16,19 @@ jobs: sleep 5 done build: - runs-on: ubuntu-latest + runs-on: galactica steps: - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v5 + - name: Set up Python 3.12 + uses: actions/setup-python@v4 with: - python-version: '3.12' - cache: 'pip' - - run: pip install -r requirements.txt + python-version: "3.12" + - name: Install uv + uses: astral-sh/setup-uv@v6 + - name: Set up Python + run: uv python install - name: Install the code linting and formatting tool Ruff - run: pip install ruff + run: uv build - name: Lint code with Ruff run: ruff check --output-format=github --target-version=py39 - name: Check code formatting with Ruff