-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (27 loc) · 776 Bytes
/
lint.yml
File metadata and controls
35 lines (27 loc) · 776 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
name: Linting & Type Checking
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
lint:
runs-on: ubuntu-latest
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.13.11
uses: actions/setup-python@v5
with:
python-version: "3.13.11"
- name: Install Poetry
run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Run Ruff Linter
run: poetry run ruff check .
- name: Run Ruff Formatter check
run: poetry run ruff format --check .
- name: Run Pyright Type Checker
run: poetry run pyright