Skip to content

Commit cd670cb

Browse files
committed
feat: Add lint action
1 parent 1648928 commit cd670cb

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/workflows/lint.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: PR Open/Sync - Lint
2+
on:
3+
pull_request:
4+
types: [opened, synchronize]
5+
branches:
6+
- main
7+
8+
jobs:
9+
lint:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/[email protected]
13+
- uses: actions/[email protected]
14+
with:
15+
python-version: '3.13'
16+
- run: pip install uv
17+
- run: uv sync
18+
- run: make lint

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
install:
22
uv sync
3-
npm install -g @mermaid-js/mermaid-cli
3+
npm install -g @mermaid-js/mermaid-cli
4+
5+
lint:
6+
uv run ruff check .

0 commit comments

Comments
 (0)