File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22name : CI
33on :
44 pull_request :
5- branches : [master ]
5+ branches : [main ]
66jobs :
77 lint :
88 runs-on : ubuntu-latest
99 steps :
10- - name : Checkout
10+ - name : checkout
1111 uses : actions/checkout@v6
12- - name : Install UV
12+ - name : install uv
1313 uses : astral-sh/setup-uv@v6
1414 with :
1515 python-version : " 3.10"
1616 enable-cache : true
17- - name : Install dependencies
17+ - name : dependencies
1818 run : uv sync --locked --dev
19- - name : Run ruff
19+ - name : ruff
2020 run : uv run ruff check .
21- - name : Run mypy
21+ - name : mypy
2222 run : uv run mypy .
23- - name : Run ty
23+ - name : ty
2424 run : uv run ty check .
2525 test :
26- name : Test Python ${{ matrix.python-version }}
26+ name : test python ${{ matrix.python-version }}
2727 strategy :
2828 matrix :
2929 python-version : ["3.10", "3.11", "3.12", "3.13"]
3030 runs-on : ubuntu-latest
3131 steps :
32- - name : Checkout
32+ - name : checkout
3333 uses : actions/checkout@v6
34- - name : Install UV
34+ - name : install uv
3535 uses : astral-sh/setup-uv@v6
3636 with :
3737 python-version : ${{ matrix.python-version }}
3838 enable-cache : true
39- - name : Install dependencies
39+ - name : dependencies
4040 run : uv sync --locked --dev
41- - name : Run tests
41+ - name : tests
4242 run : uv run pytest
You can’t perform that action at this time.
0 commit comments