Skip to content

Commit 6220450

Browse files
committed
Basedpyright runs directly in GHA
1 parent a043676 commit 6220450

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,22 @@ concurrency:
99
group: ${{ github.event_name }}-${{ github.ref }}
1010

1111
jobs:
12+
typing:
13+
name: Run type checking
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v5
18+
19+
- name: Install uv
20+
uses: astral-sh/setup-uv@v7
21+
22+
- name: Install deps
23+
run: uv sync --all-groups
24+
25+
- name: Run type checker
26+
run: uv run basedpyright
27+
1228
test:
1329
name: Run tests & display coverage
1430
runs-on: ubuntu-latest

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ci:
77
# Renovate updates the file. We can't disable pre-commit CI's autoupdate entirely
88
# but this is the least frequent we can make it.
99
autoupdate_schedule: quarterly
10+
skip: [basedpyright]
1011

1112
repos:
1213
- repo: https://github.com/pre-commit/pre-commit-hooks

0 commit comments

Comments
 (0)