File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6262 uses : actions/cache@v3
6363 with :
6464 path : ~/.cache/pypoetry
65- key : poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.POETRY_VERSION }}
65+ key : poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.POETRY_VERSION }}-${{ matrix.pydantic-version }}
6666
6767 - name : Install Poetry
6868 uses : snok/install-poetry@v1
7171 # TODO: fix errors so that we can run `make dev` instead
7272 run : |
7373 make full
74+ poetry run pip install pydantic==${{ matrix.pydantic-version }}
7475
7576 - if : matrix.pydantic-version == '2.4.2'
7677 name : Static analysis with pyright (ignoring pydantic v1)
@@ -102,14 +103,13 @@ jobs:
102103 uses : actions/cache@v3
103104 with :
104105 path : ~/.cache/pypoetry
105- key : poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.POETRY_VERSION }}
106+ key : poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.POETRY_VERSION }}-${{ matrix.pydantic-version }}
106107
107108 - name : Install Poetry
108109 uses : snok/install-poetry@v1
109110
110111 - name : Install Dependencies
111112 run : |
112- python -m pip install --upgrade pip
113113 make ${{ matrix.dependencies }}
114114 python -m pip install pydantic==${{ matrix.pydantic-version }}
115115
You can’t perform that action at this time.
0 commit comments