Skip to content

Commit 42c9ea8

Browse files
committed
chore: add mypy as dependency
1 parent 499eba3 commit 42c9ea8

File tree

3 files changed

+187
-12
lines changed

3 files changed

+187
-12
lines changed

.github/workflows/linting-and-checks.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,20 @@ jobs:
4343
- name: "Setup: checkout repository"
4444
uses: actions/checkout@v4
4545

46+
- name: "Setup: install poetry"
47+
run: pipx install poetry
48+
4649
- name: "Setup: add python"
4750
uses: actions/setup-python@v5
4851
with:
4952
python-version: "3.12"
53+
cache: "poetry"
5054

51-
- name: "Setup: add venv"
52-
run: |
53-
pip install poetry
54-
poetry config virtualenvs.in-project true
55-
poetry install
55+
- name: "Setup: install dependencies"
56+
run: poetry install
5657

5758
- name: "Run: mypy"
58-
run: mypy src
59+
run: poetry run mypy src
5960

6061
typescript-compile:
6162
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)