File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010jobs :
1111 lint :
12- name : Run Flake8
12+ name : Run linting
1313 runs-on : ubuntu-latest
14+ defaults :
15+ run :
16+ working-directory : server
1417 steps :
15- - uses : actions/checkout@v4
18+ - name : Checkout
19+ uses : actions/checkout@v5
1620
17- - name : " Set up Python"
18- uses : actions/setup-python@v5
19- with :
20- python-version : 3.12
21+ - name : get ruff
22+ uses : astral-sh/ruff-action@v3
2123
22- - name : " Install flake8 and plugins"
23- run : |
24- pip install flake8 flake8-django
24+ - name : ruff check
25+ run : ruff check
2526
26- - name : " Run flake8"
27- uses : liskin/gh-problem-matcher-wrap@v1
28- with :
29- linters : flake8
30- run : flake8 --max-line-length 150 server/
27+ - name : ruff format check
28+ run : ruff format --check
3129
3230 build :
3331 name : Build and test
@@ -50,18 +48,13 @@ jobs:
5048
5149 steps :
5250 - name : Checkout
53- uses : actions/checkout@v4
54-
55- - name : Set up Python
56- uses : actions/setup-python@v5
57- with :
58- python-version : " 3.12"
51+ uses : actions/checkout@v5
5952
6053 - name : Install uv
61- run : pip install uv
54+ uses : astral-sh/setup-uv@v6
6255
6356 - name : Install dependencies 👨🏻💻
64- run : uv sync --frozen
57+ run : uv sync --frozen --all-groups
6558
6659 - name : Run Migrations 🕊️
6760 env :
You can’t perform that action at this time.
0 commit comments