-
Notifications
You must be signed in to change notification settings - Fork 4
38 lines (29 loc) · 895 Bytes
/
code-quality.yml
File metadata and controls
38 lines (29 loc) · 895 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
name: Code Quality
description: Run code quality checks including linting, type checking, and tests.
on:
workflow_call:
permissions:
contents: read
jobs:
code-quality:
name: Code Quality Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: true
python-version: '3.13'
- name: Install Task
uses: arduino/setup-task@b91d5d2c96a56797b48ac1e0e89220bf64044611 # v2.0.0
with:
version: 3.44.1
- name: Install Dependencies
run: task install
- name: Run Linting
run: task lint
- name: Run Type Checking
run: task typecheck
- name: Run Tests
run: task test