Skip to content

Commit fba3c48

Browse files
committed
wip
1 parent 961761e commit fba3c48

4 files changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
version-file: "pyproject.toml"
2727
enable-cache: true
2828

29+
- name: Install the project
30+
run: uv sync --all-packages --locked --all-extras --dev
31+
2932
- name: Run ruff linter
3033
shell: bash
3134
run: |

.github/workflows/tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@ jobs:
1313

1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v6
16+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
1717

1818
- name: "Set up Python"
19-
uses: actions/setup-python@v6
19+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
2020
with:
2121
python-version-file: "pyproject.toml"
2222

2323
- name: Install uv
24-
uses: astral-sh/setup-uv@v7
24+
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
2525
with:
26+
version-file: "pyproject.toml"
2627
enable-cache: true
2728

2829
- name: Install the project

.github/workflows/typecheck.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
version-file: "pyproject.toml"
2727
enable-cache: true
2828

29+
- name: Install the project
30+
run: uv sync --all-packages --locked --all-extras --dev
31+
2932
- name: Run ty typecheck
3033
shell: bash
3134
run: |

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ dev = [
1616
"ty>=0.0.21",
1717
]
1818

19-
# [tool.uv]
20-
# required-version = ">=0.11.31"
19+
[tool.uv]
20+
required-version = ">=0.11.31"
2121

2222
[tool.uv.workspace]
2323
members = ["packages/*"]

0 commit comments

Comments
 (0)