File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : ci
22
33on :
4- push :
5- branches :
6- - main
7- pull_request :
8- branches :
9- - main
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
1010
1111jobs :
12- lint :
13- runs-on : ubuntu-latest
12+ lint :
13+ runs-on : ubuntu-latest
1414
15- steps :
16- - name : Checkout Repository
17- uses : actions/checkout@v4
15+ steps :
16+ - name : Checkout Repository
17+ uses : actions/checkout@v4
1818
19- - name : Set up Python
20- uses : actions/setup-python@v5
21- with :
22- python-version : ' 3.x '
19+ - name : Set up Python
20+ uses : actions/setup-python@v5
21+ with :
22+ python-version : " 3.11 "
2323
24- - name : Install Poetry
25- run : |
26- curl -sSL https://install.python-poetry.org | python -
27- export PATH="$HOME/.poetry/bin:$PATH "
24+ - name : Install uv
25+ uses : astral-sh/setup-uv@v6
26+ with :
27+ version : " latest "
2828
29- - name : Install dependencies
30- run : |
31- poetry install
29+ - name : Install dependencies
30+ run : uv sync --group dev
3231
33- - name : Install Pre-commit Hooks
34- run : poetry run pre-commit install
32+ - name : Install Pre-commit Hooks
33+ run : uv run pre-commit install
3534
36- - name : Run Pre-commit on all files
37- run : poetry run pre-commit run --all-files
35+ - name : Run Pre-commit on all files
36+ run : uv run pre-commit run --all-files
You can’t perform that action at this time.
0 commit comments