install uv with github action

This commit is contained in:
Marcello 2024-09-05 20:57:33 +02:00
parent a3b908acaa
commit a77e895048
Signed by: m-lamonaca
SSH key fingerprint: SHA256:8db8uii6Gweq7TbKixFBioW2T8CbgtyFETyYL3cr3zk

View file

@ -11,8 +11,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install uv v0.4.2
run: curl -LsSf https://astral.sh/uv/0.4.2/install.sh | sh
- name: Install uv
uses: astral-sh/setup-uv@v1
with:
version: "latest"
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Setup Python
uses: actions/setup-python@v5.0.0