-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (32 loc) · 875 Bytes
/
Copy pathquality.yml
File metadata and controls
43 lines (32 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Quality
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
concurrency:
group: quality-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
quality:
name: Python 3.13
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Install uv and Python
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: true
python-version: "3.13"
- name: Install locked dependencies
run: uv sync --locked
- name: Lint
run: uv run --frozen ruff check .
- name: Check formatting
run: uv run --frozen ruff format --check .
- name: Type check
run: uv run --frozen pyright
- name: Test
run: uv run --frozen pytest