Skip to content

Commit 95327dd

Browse files
committed
🔧 Add GitHub Actions workflow for linting
1 parent 7495cd8 commit 95327dd

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

‎.github/workflows/lint.yml‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
types:
9+
- opened
10+
- synchronize
11+
12+
jobs:
13+
lint:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v5
17+
- name: Set up Python
18+
uses: actions/setup-python@v6
19+
with:
20+
python-version-file: "pyproject.toml"
21+
- name: Install uv
22+
uses: astral-sh/setup-uv@v7
23+
- name: Install Dependencies
24+
run: uv sync --locked --all-extras --dev
25+
- name: Lint
26+
run: uv run --no-sync scripts/lint.sh

0 commit comments

Comments
 (0)