Skip to content

Commit 4c013ac

Browse files
committed
add github actions
1 parent 1c25c25 commit 4c013ac

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.github/workflows/check.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Check
2+
on: [ push, pull_request ]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
python-version: [ "3.12" ]
9+
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Set up Python ${{ matrix.python-version }}
13+
uses: actions/setup-python@v5
14+
with:
15+
python-version: ${{ matrix.python-version }}
16+
- name: Display Python version
17+
run: python -c "import sys; print(sys.version)"
18+
- name: Install dependencies
19+
run: |
20+
python -m pip install --upgrade pip
21+
pip install -r requirements.txt
22+
- name: Lint with Ruff
23+
run: |
24+
pip install ruff
25+
ruff check --output-format=github .
26+
continue-on-error: true

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ pydantic==2.9.2
2020
pydantic-settings==2.5.2
2121
pydantic_core==2.23.4
2222
python-dotenv==1.0.1
23-
ruff==0.6.9
2423
sniffio==1.3.1
2524
starlette==0.38.5
2625
typing_extensions==4.12.2

0 commit comments

Comments
 (0)