File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,27 +14,19 @@ jobs:
1414 name : Check
1515 runs-on : ubuntu-latest
1616 steps :
17+ - name : Checkout
18+ uses : actions/checkout@v5
1719 - name : Setup Python 3.13
1820 uses : actions/setup-python@v5
1921 with :
2022 python-version : " 3.13"
2123 - uses : astral-sh/setup-uv@v7
22- - name : Checkout
23- uses : actions/checkout@v5
2424 - name : Install requirements
2525 run : |
2626 uv lock --check
2727 uv sync
28- - name : Run Ruff as isort
29- run : uv run ruff check --select I,RUF022 --fix --diff ./pybind11_stubgen
30- if : ${{ failure() || success() }}
31- - name : Run Ruff format
32- run : uv run ruff format --diff ./pybind11_stubgen
33- if : ${{ failure() || success() }}
34- - name : Run Ruff
35- run : |
36- uv run ruff check --ignore F401,F821 .
37- if : ${{ failure() || success() }}
28+ - name : Run pre-commit
29+ run : uv run pre-commit run --all-files
3830
3931 build :
4032 name : Build wheel
You can’t perform that action at this time.
0 commit comments