We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e0ef12 commit b79ac0dCopy full SHA for b79ac0d
1 file changed
.github/workflows/ci.yml
@@ -6,6 +6,34 @@ on:
6
workflow_dispatch:
7
8
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
37
test-and-smoke:
38
name: Test and smoke workflow on Python ${{ matrix.python-version }}
39
runs-on: ubuntu-latest
0 commit comments