Skip to content

Commit 228942c

Browse files
committed
pins poetry in Dockerfile to 1.5.1
1 parent ecbb1ca commit 228942c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,18 +130,20 @@ jobs:
130130
fail-fast: true
131131
matrix:
132132
python-version: ["3.8", "3.9", "3.10", "3.11"]
133+
poetry-version: ["1.5.1"]
133134
runs-on: "ubuntu-20.04"
134135
env:
135136
PYTHON_VER: "${{ matrix.python-version }}"
136137
steps:
137138
- name: "Check out repository code"
138139
uses: "actions/checkout@v2"
139140
- name: "Setup environment"
140-
uses: "networktocode/gh-action-setup-poetry-environment@v5"
141+
uses: "networktocode/gh-action-setup-poetry-environment@3ea5d3e"
141142
env:
142143
POETRY_VERSION: 1.5.1
143144
with:
144145
python-version: "${{ matrix.python-version }}"
146+
poetry-version: "${{ matrix.poetry-version }}"
145147
- name: "Install redis"
146148
run: "sudo apt-get install -y redis"
147149
- name: "Run poetry Install"

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
88
&& rm -rf /var/lib/apt/lists/*
99

1010
RUN pip install --upgrade pip \
11-
&& pip install poetry
11+
&& pip install poetry==1.5.1
1212

1313

1414
WORKDIR /local

0 commit comments

Comments
 (0)