File tree Expand file tree Collapse file tree 3 files changed +5
-31
lines changed
Expand file tree Collapse file tree 3 files changed +5
-31
lines changed Original file line number Diff line number Diff line change 3434 steps :
3535 - uses : actions/checkout@v4
3636 - uses : astral-sh/setup-uv@v6
37- with :
38- version : " latest"
3937 - run : |
4038 uv run --python=3.12 --extra=dev mypy --python-version=${{ matrix.python-version }}
4139
4644 steps :
4745 - uses : actions/checkout@v4
4846 - uses : astral-sh/setup-uv@v6
49- with :
50- version : " latest"
5147 - run : |
5248 uv run --python=3.12 --extra=dev flake8 $(git ls-files | grep 'py$') --color=always
5349
6359 steps :
6460 - uses : actions/checkout@v4
6561 - uses : astral-sh/setup-uv@v6
66- with :
67- version : " latest"
6862 - run : |
6963 uv run --python=${{ matrix.python-version }} --extra=dev pytest -vv
Original file line number Diff line number Diff line change 1717 id-token : write
1818 steps :
1919 - uses : actions/checkout@v4
20- - name : Set up Python 3.12
21- uses : actions/setup-python@v5
22- with :
23- python-version : " 3.12"
24- - name : Install pypa/build
25- run : >-
26- python -m
27- pip install
28- build
29- --user
30- - name : Build a binary wheel and a source tarball
31- run : >-
32- python -m
33- build
34- --sdist
35- --wheel
36- --outdir dist/
37- .
20+ - uses : astral-sh/setup-uv@v6
21+ - run : uv python install
22+ - run : uv build
3823 - name : Publish distribution to PyPI
3924 if : startsWith(github.ref, 'refs/tags')
40- uses : pypa/gh-action-pypi- publish@release/v1
25+ run : uv publish
Original file line number Diff line number Diff line change 3636 with :
3737 repository : python/typeshed
3838 path : typeshed
39- - name : Setup Python
40- uses : actions/setup-python@v5
41- with :
42- python-version : " 3.12"
43- - name : Install uv
44- run : curl -LsSf https://astral.sh/uv/install.sh | sh
39+ - uses : astral-sh/setup-uv@v6
4540 - run : uv pip install flake8-noqa --system
4641 # We cd so that "old_plugin"/"new_plugin"/typeshed" don't appear in the error path
4742 - name : flake8 typeshed using target branch
You can’t perform that action at this time.
0 commit comments