Skip to content

Commit 75664e0

Browse files
authored
Merge pull request #580 from guardrails-ai/fix-actions
fix index for python v
2 parents 434c0c2 + 15c1be6 commit 75664e0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: actions/cache@v3
3232
with:
3333
path: ~/.cache/pypoetry
34-
key: poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.POETRY_VERSION }}
34+
key: poetry-cache-${{ runner.os }}-${{ matrix.python-version }}-${{ env.POETRY_VERSION }}
3535

3636
- name: Install Poetry
3737
uses: snok/install-poetry@v1
@@ -63,7 +63,7 @@ jobs:
6363
uses: actions/cache@v3
6464
with:
6565
path: ~/.cache/pypoetry
66-
key: poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.POETRY_VERSION }}-${{ matrix.pydantic-version }}
66+
key: poetry-cache-${{ runner.os }}-${{ matrix.python-version }}-${{ env.POETRY_VERSION }}-${{ matrix.pydantic-version }}
6767

6868
- name: Install Poetry
6969
uses: snok/install-poetry@v1
@@ -96,7 +96,7 @@ jobs:
9696
make type-pydantic-v1-openai-v1
9797
9898
Pytests:
99-
runs-on: ubuntu-latest
99+
runs-on: LargeBois
100100
strategy:
101101
matrix:
102102
python-version: ["3.8", "3.9", "3.10", "3.11"]
@@ -116,7 +116,7 @@ jobs:
116116
uses: actions/cache@v3
117117
with:
118118
path: ~/.cache/pypoetry
119-
key: poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.POETRY_VERSION }}-${{ matrix.pydantic-version }}-${{ matrix.openai-version }}
119+
key: poetry-cache-${{ runner.os }}-${{ matrix.python-version }}-${{ env.POETRY_VERSION }}-${{ matrix.pydantic-version }}-${{ matrix.openai-version }}
120120

121121
- name: Install Poetry
122122
uses: snok/install-poetry@v1
@@ -154,7 +154,7 @@ jobs:
154154
NLTK_DATA: /tmp/nltk_data
155155
steps:
156156
- name: Checkout repository
157-
uses: actions/checkout@v2
157+
uses: actions/checkout@v2
158158
- name: Set up Python
159159
uses: actions/setup-python@v4
160160
with:
@@ -163,7 +163,7 @@ jobs:
163163
uses: actions/cache@v3
164164
with:
165165
path: ~/.cache/pypoetry
166-
key: poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.POETRY_VERSION }}
166+
key: poetry-cache-${{ runner.os }}-3.11.x-${{ env.POETRY_VERSION }}
167167
- name: Install Poetry
168168
uses: snok/install-poetry@v1
169169
with:

0 commit comments

Comments
 (0)