File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 runs-on : ubuntu-24.04
4040
4141 steps :
42- - uses : actions/checkout@v4
42+ - uses : actions/checkout@v5
4343
4444 - uses : astral-sh/setup-uv@v5
4545 with :
Original file line number Diff line number Diff line change 2121 workflow_dispatch :
2222 pull_request :
2323 paths-ignore :
24- - " **.md"
24+ - ' **.md'
2525 push :
2626 branches : [main]
2727
@@ -33,23 +33,28 @@ jobs:
3333 - uses : actions/checkout@v4
3434 - uses : webiny/action-conventional-commits@v1.3.0
3535
36- mypy :
36+ ty :
3737 needs : commitlint
38- name : MyPy Python linter
38+ name : Ty Python linter
3939 runs-on : ubuntu-24.04
4040 steps :
41- - uses : actions/checkout@v4
41+ - uses : actions/checkout@v5
4242 - uses : actions/setup-python@v5
4343 with :
44- python-version : " 3.10"
45- - name : Install mypy
46- run : pip install mypy
47- - name : Run mypy
48- uses : sasanquaneuf/mypy-github-action@releases/v1.3
44+ python-version : ' 3.10'
45+
46+ - uses : astral-sh/setup-uv@v5
47+ with :
48+ enable-cache : true
49+
50+ - uses : actions/setup-python@v5
4951 with :
50- checkName : " mypy" # NOTE: this needs to be the same as the job name
51- env :
52- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52+ python-version-file : ' pyproject.toml'
53+
54+ - name : Run ty
55+ shell : bash
56+ run : |
57+ ty check
5358
5459 ruff :
5560 needs : commitlint
6065 - name : Ruff Check
6166 uses : astral-sh/ruff-action@v3
6267 with :
63- args : " check --config pyproject.toml"
68+ args : ' check --config pyproject.toml'
6469 - name : Ruff Format
6570 uses : astral-sh/ruff-action@v3
6671 with :
67- args : " format --check --config pyproject.toml"
72+ args : ' format --check --config pyproject.toml'
You can’t perform that action at this time.
0 commit comments