File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : pre-commit
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - main
8+ - develop
9+ - feature-*
10+
11+ jobs :
12+ basedpyright :
13+ runs-on : ubuntu-latest
14+ permissions :
15+ id-token : write
16+ contents : read
17+ packages : write
18+ pull-requests : write
19+ steps :
20+ - uses : actions/checkout@v4
21+ - name : Install uv
22+ uses : astral-sh/setup-uv@v6
23+ with :
24+ version : 0.8.22
25+ python-version : 3.11
26+ enable-cache : true
27+ cache-suffix : pre-commit
28+ cache-dependency-glob : uv.lock
29+ - name : Restore venv cache
30+ uses : actions/cache@v4
31+ with :
32+ path : |
33+ .venv
34+ key : ${{ runner.os }}-uv-${{ hashFiles('uv.lock') }}
35+ - name : Synchronize project dependencies
36+ run : uv sync --group dev
37+ - name : Run basedpyright
38+ run : uv run basedpyright
Original file line number Diff line number Diff line change 4141 run : uv sync --group dev
4242 - name : Run pre-commit checks
4343 run : uv run pre-commit run --show-diff-on-failure --all-files
44+ env :
45+ SKIP : basedpyright
You can’t perform that action at this time.
0 commit comments