File tree Expand file tree Collapse file tree 4 files changed +47
-327
lines changed
Expand file tree Collapse file tree 4 files changed +47
-327
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,29 @@ on: [pull_request]
44
55jobs :
66 lint :
7+ strategy :
8+ matrix :
9+ python-version : ["3.12"]
710 runs-on : ubuntu-latest
11+
812 steps :
913 - name : Check out code
10- uses : actions/checkout@v3
14+ uses : actions/checkout@v4
15+
16+ - name : Install uv
17+ uses : astral-sh/setup-uv@v5
18+ with :
19+ pyproject-file : " pyproject.toml"
20+
21+ - name : Set up Python
22+ uses : actions/setup-python@v5.3.0
1123 with :
12- fetch-depth : 0
24+ python-version : ${{ matrix.python-version }}
25+
26+ - name : Check dependencies
27+ run : |
28+ uv lock --check
29+
1330
1431 - name : Install poetry
1532 run : pipx install poetry
@@ -21,10 +38,10 @@ jobs:
2138 cache : " poetry"
2239 cache-dependency-path : " poetry.lock"
2340
24- - name : Install dependencies
25- run : poetry install
41+ - name : Install Python dependencies
42+ run : uv sync
2643
2744 - name : Run code linters
2845 run : |
29- poetry run ruff check discobuilder
30- poetry run ruff format --check discobuilder
46+ uv run ruff check discobuilder
47+ uv run ruff format --check discobuilder
Original file line number Diff line number Diff line change 11repos
2+ downstream_builder.egg-info
You can’t perform that action at this time.
0 commit comments