forked from codegen-sh/codegen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
30 lines (28 loc) · 709 Bytes
/
action.yml
File metadata and controls
30 lines (28 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: "Setup Environment"
description: "Setup Environment"
inputs:
python-version:
required: false
description: "Python version to use"
default: "3.13"
runs:
using: "composite"
steps:
- name: Install UV
uses: astral-sh/setup-uv@v5.4
id: setup-uv
with:
enable-cache: true
prune-cache: false
python-version: ${{ inputs.python-version }}
version: '0.5.24'
cache-suffix: ${{inputs.python-version}}
- name: Install dependencies
shell: bash
run: |
uv sync --frozen --all-extras
- name: Install codecov
shell: bash
run: |
uv tool install codecov-cli@10.0.1
uv tool update-shell