Skip to content

Commit 63c3c3f

Browse files
committed
push
1 parent 0a96a6b commit 63c3c3f

1 file changed

Lines changed: 30 additions & 30 deletions

File tree

.github/workflows/ci.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -23,36 +23,36 @@ jobs:
2323
with:
2424
args: check --config ci.ruff.toml
2525

26-
type-checking:
27-
runs-on: ubuntu-latest
28-
steps:
29-
- uses: actions/checkout@v3
30-
- name: Set up Python
31-
uses: actions/setup-python@v4
32-
with:
33-
python-version: "3.12"
34-
- name: Install poetry
35-
uses: abatilo/actions-poetry@v2
36-
- name: Setup a local virtual environment
37-
run: |
38-
poetry config virtualenvs.create true --local
39-
poetry config virtualenvs.in-project true --local
40-
- uses: actions/cache@v3
41-
name: Define a cache for the virtual environment based on the dependencies lock file
42-
with:
43-
path: ./.venv
44-
key: venv-type-check-${{ hashFiles('poetry.lock') }}
45-
- uses: actions/cache@v3
46-
name: Cache mypy cache
47-
with:
48-
path: ./.mypy_cache
49-
key: mypy-${{ hashFiles('**/*.py', 'pyproject.toml') }}
50-
restore-keys: |
51-
mypy-
52-
- name: Install dependencies
53-
run: poetry install --only=main,dev --no-extras
54-
- name: Run mypy type checking
55-
run: poetry run mypy langfuse --no-error-summary
26+
type-checking:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v3
30+
- name: Set up Python
31+
uses: actions/setup-python@v4
32+
with:
33+
python-version: "3.12"
34+
- name: Install poetry
35+
uses: abatilo/actions-poetry@v2
36+
- name: Setup a local virtual environment
37+
run: |
38+
poetry config virtualenvs.create true --local
39+
poetry config virtualenvs.in-project true --local
40+
- uses: actions/cache@v3
41+
name: Define a cache for the virtual environment based on the dependencies lock file
42+
with:
43+
path: ./.venv
44+
key: venv-type-check-${{ hashFiles('poetry.lock') }}
45+
- uses: actions/cache@v3
46+
name: Cache mypy cache
47+
with:
48+
path: ./.mypy_cache
49+
key: mypy-${{ hashFiles('**/*.py', 'pyproject.toml') }}
50+
restore-keys: |
51+
mypy-
52+
- name: Install dependencies
53+
run: poetry install --only=main,dev --no-extras
54+
- name: Run mypy type checking
55+
run: poetry run mypy langfuse --no-error-summary
5656

5757
ci:
5858
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)