Skip to content

Commit 4c48436

Browse files
committed
Add ruff to github action workflow
1 parent f2425a5 commit 4c48436

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CI
2+
on: push
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
9+
- name: Install uv
10+
uses: astral-sh/setup-uv@v3
11+
with:
12+
enable-cache: true
13+
cache-dependency-glob: "uv.lock"
14+
- name: Set up Python
15+
run: uv python install
16+
- name: Install the project
17+
run: uv sync --all-extras --dev
18+
19+
- name: Run Ruff
20+
run: uv run ruff check --output-format=github .

0 commit comments

Comments
 (0)