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