|
7 | 7 | runs-on: ubuntu-latest |
8 | 8 | name: ruff format |
9 | 9 | steps: |
10 | | - - uses: actions/checkout@v4 |
| 10 | + - name: Checkout code |
| 11 | + uses: actions/checkout@v5 |
11 | 12 | - name: Install uv |
12 | | - uses: astral-sh/setup-uv@v5 |
| 13 | + uses: astral-sh/setup-uv@v7 |
13 | 14 | with: |
14 | 15 | enable-cache: true |
15 | 16 | cache-dependency-glob: "uv.lock" |
16 | | - - name: Set up Python |
17 | | - uses: actions/setup-python@v5 |
18 | | - with: |
19 | | - python-version-file: "pyproject.toml" |
20 | 17 | - name: Install the project |
21 | | - run: uv sync --upgrade |
| 18 | + run: uv sync -U |
22 | 19 | - name: Run ruff format |
23 | 20 | run: uv run ruff format --diff |
24 | 21 |
|
25 | 22 | ruff_check: |
26 | 23 | runs-on: ubuntu-latest |
27 | 24 | name: ruff check |
28 | 25 | steps: |
29 | | - - uses: actions/checkout@v4 |
| 26 | + - name: Checkout code |
| 27 | + uses: actions/checkout@v5 |
30 | 28 | - name: Install uv |
31 | | - uses: astral-sh/setup-uv@v5 |
| 29 | + uses: astral-sh/setup-uv@v7 |
32 | 30 | with: |
33 | 31 | enable-cache: true |
34 | 32 | cache-dependency-glob: "uv.lock" |
35 | | - - name: Set up Python |
36 | | - uses: actions/setup-python@v5 |
37 | | - with: |
38 | | - python-version-file: "pyproject.toml" |
39 | 33 | - name: Install the project |
40 | | - run: uv sync --upgrade |
| 34 | + run: uv sync -U |
41 | 35 | - name: Run ruff check |
42 | 36 | run: uv run ruff check --diff |
43 | 37 |
|
44 | 38 | pyright: |
45 | 39 | runs-on: ubuntu-latest |
46 | 40 | name: pyright |
47 | 41 | steps: |
48 | | - - uses: actions/checkout@v4 |
| 42 | + - name: Checkout code |
| 43 | + uses: actions/checkout@v5 |
49 | 44 | - name: Install uv |
50 | | - uses: astral-sh/setup-uv@v5 |
| 45 | + uses: astral-sh/setup-uv@v7 |
51 | 46 | with: |
52 | 47 | enable-cache: true |
53 | 48 | cache-dependency-glob: "uv.lock" |
54 | | - - name: Set up Python |
55 | | - uses: actions/setup-python@v5 |
56 | | - with: |
57 | | - python-version-file: "pyproject.toml" |
58 | 49 | - name: Install the project |
59 | | - run: uv sync --upgrade |
| 50 | + run: uv sync -U |
60 | 51 | - name: Run pyright |
61 | 52 | run: uv run pyright |
62 | 53 |
|
63 | 54 | mypy: |
64 | 55 | runs-on: ubuntu-latest |
65 | 56 | name: mypy |
66 | 57 | steps: |
67 | | - - uses: actions/checkout@v4 |
| 58 | + - name: Checkout code |
| 59 | + uses: actions/checkout@v5 |
68 | 60 | - name: Install uv |
69 | | - uses: astral-sh/setup-uv@v5 |
| 61 | + uses: astral-sh/setup-uv@v7 |
70 | 62 | with: |
71 | 63 | enable-cache: true |
72 | 64 | cache-dependency-glob: "uv.lock" |
73 | | - - name: Set up Python |
74 | | - uses: actions/setup-python@v5 |
75 | | - with: |
76 | | - python-version-file: "pyproject.toml" |
77 | 65 | - name: Install the project |
78 | | - run: uv sync --upgrade |
| 66 | + run: uv sync -U |
79 | 67 | - name: Run mypy |
80 | 68 | run: uv run mypy |
0 commit comments