-
Notifications
You must be signed in to change notification settings - Fork 33
34 lines (25 loc) · 842 Bytes
/
Copy pathlint.yml
File metadata and controls
34 lines (25 loc) · 842 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
name: Lint
on:
push: # all branches
pull_request: # all branches
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Task
uses: go-task/setup-task@v1
- name: Install system-level dependencies for Manim
run: sudo apt-get update && sudo apt-get install -y build-essential pkg-config libcairo2-dev libpango1.0-dev ffmpeg fonts-noto-core
- name: Set up project environment
run: task setup PYTHON_VERSION=3.13
- name: Ruff format and import order
run: task format-check PYTHON_VERSION=3.13
- name: Ruff
run: task lint PYTHON_VERSION=3.13
- name: ty
run: task typecheck PYTHON_VERSION=3.13