Skip to content

ci: update test actions #4

ci: update test actions

ci: update test actions #4

Workflow file for this run

name: Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Prepare repo
uses: actions/checkout@master
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Cache `uv` dependencies
uses: actions/cache@v3
with:
path: .uv
key: ${{ runner.os }}-uv-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-uv-
- name: Install `uv`
run: pip install uv
- name: Synchronize dependencies
run: uv sync
- name: Run Tests
run: uv run test