@@ -13,85 +13,85 @@ jobs:
1313 strategy :
1414 matrix :
1515 python-version : ['3.10', '3.11', '3.12', '3.13']
16-
16+
1717 steps :
1818 - uses : actions/checkout@v5
19-
19+
2020 - name : Install uv
2121 uses : astral-sh/setup-uv@v7
2222 with :
2323 version : " latest"
24-
24+
2525 - name : Set up Python ${{ matrix.python-version }}
2626 run : uv python install ${{ matrix.python-version }}
27-
27+
2828 - name : Install dependencies
2929 run : |
3030 uv sync --all-extras --dev
31-
31+
3232 - name : Run unit tests
3333 run : |
3434 uv run pytest tests/unit -v
35-
35+
3636 - name : Run validators tests
3737 run : |
3838 uv run pytest tests/unit/test_validators.py -v
39-
39+
4040 - name : Run constants tests
4141 run : |
4242 uv run pytest tests/unit/test_constants.py -v
4343
4444 lint :
4545 name : lint
4646 runs-on : ubuntu-latest
47-
47+
4848 steps :
4949 - uses : actions/checkout@v5
50-
50+
5151 - name : Install uv
5252 uses : astral-sh/setup-uv@v7
5353 with :
5454 version : " latest"
55-
55+
5656 - name : Set up Python
5757 run : uv python install 3.12
58-
58+
5959 - name : Install dependencies
6060 run : |
6161 uv sync --all-extras --dev
62-
63- - name : Check code formatting with black
62+
63+ - name : Check code formatting with Ruff
6464 run : |
65- uv run black --check .
66-
67- - name : Check imports with isort
65+ uv run ruff format --check .
66+
67+ - name : Check code with Ruff linter
6868 run : |
69- uv run isort -- check-only .
69+ uv run ruff check .
7070
7171 build :
7272 name : build
7373 runs-on : ubuntu-latest
7474 needs : [test, lint]
75-
75+
7676 steps :
7777 - uses : actions/checkout@v5
78-
78+
7979 - name : Install uv
8080 uses : astral-sh/setup-uv@v7
8181 with :
8282 version : " latest"
83-
83+
8484 - name : Set up Python
8585 run : uv python install 3.12
86-
86+
8787 - name : Install build dependencies
8888 run : |
8989 uv sync --all-extras --dev
90-
90+
9191 - name : Build package
9292 run : |
9393 uv run python -m build
94-
94+
9595 - name : Upload artifacts
9696 uses : actions/upload-artifact@v5
9797 with :
0 commit comments