Skip to content

Commit b79ac0d

Browse files
Add files via upload
1 parent 9e0ef12 commit b79ac0d

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,34 @@ on:
66
workflow_dispatch:
77

88
jobs:
9+
lint:
10+
name: Lint and type-check
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Check out repository
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: "3.12"
21+
cache: "pip"
22+
23+
- name: Install tooling
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install ruff black mypy
27+
28+
- name: Ruff
29+
run: ruff check src app.py tests
30+
31+
- name: Black
32+
run: black --check src app.py tests
33+
34+
- name: Mypy
35+
run: mypy src app.py
36+
937
test-and-smoke:
1038
name: Test and smoke workflow on Python ${{ matrix.python-version }}
1139
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)