Skip to content

Commit efc0231

Browse files
committed
Added UV check
1 parent 2191f63 commit efc0231

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Python Development Check
2+
on:
3+
push:
4+
branches:
5+
- '**'
6+
pull_request:
7+
branches:
8+
- '**'
9+
jobs:
10+
uv-setup:
11+
name: python
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: "Set up Python"
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version-file: "pyproject.toml"
21+
22+
- name: Install uv
23+
uses: astral-sh/setup-uv@v6
24+
25+
- name: Install dependencies
26+
run: uv sync --dev
27+
28+
- name: "Run ruff format"
29+
run: uvx ruff format
30+
31+
- name: "Run ruff check"
32+
run: uvx ruff check
33+
34+
- name: "Run ty"
35+
run: uvx ty check

0 commit comments

Comments
 (0)