File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ name: "CodeQL"
22
33on :
44 push :
5- branches : [ "main" ]
5+ branches : ["main"]
66 paths :
77 - " **.py"
88 - " **.toml"
99 pull_request :
1010 # The branches below must be a subset of the branches above
11- branches : [ "main" ]
11+ branches : ["main"]
1212 paths :
1313 - " **.py"
1414 - " **.toml"
5555 run : pip install -r requirements.lock
5656
5757 - name : Run Test
58- run : python -m pytailwindcss_extra
58+ run : python -m pytailwindcss_extra
59+
60+ ruff-format :
61+ name : Ruff Format
62+ runs-on : ubuntu-latest
63+ steps :
64+ - name : Checkout
65+ uses : actions/checkout@v4
66+
67+ - name : Install Python
68+ uses : actions/setup-python@v5
69+ with :
70+ cache : pip
71+
72+ - name : Install Dependencies
73+ run : |
74+ python -m pip install --upgrade pip
75+ pip install ruff
76+
77+ - name : Run Ruff
78+ run : ruff format --check
79+
80+ pyright :
81+ name : Pyright
82+ runs-on : ubuntu-latest
83+ steps :
84+ - name : Checkout
85+ uses : actions/checkout@v4
86+
87+ - name : Install Python
88+ uses : actions/setup-python@v5
89+ with :
90+ cache : pip
91+ - name : Install Dependencies
92+ run : pip install -r requirements-dev.lock
93+
94+ - name : Run Pyright
95+ uses : jakebailey/pyright-action@v2
96+ with :
97+ version : 1.1.382
You can’t perform that action at this time.
0 commit comments