Skip to content

Commit 78fb953

Browse files
authored
Update Python and Poetry (#103)
2 parents 85d28ec + 3c9b5b2 commit 78fb953

File tree

3 files changed

+65
-44
lines changed

3 files changed

+65
-44
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
15-
- run: pipx install poetry==1.3.2
15+
- run: pipx install poetry==1.8.3
1616
- uses: actions/setup-python@v5
1717
with:
18-
python-version: '3.11'
18+
python-version: '3.12'
1919
cache: poetry
2020
- run: poetry install
2121
- run: poetry run black --check .

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM ghcr.io/withlogicco/poetry:1.3.2-python-3.11
1+
FROM ghcr.io/withlogicco/poetry:1.8.3-python-3.12
22

3-
COPY ./ ./
4-
RUN --mount=type=cache,target=/root/.cache/pip --mount=type=cache,target=/root/.cache/pypoetry poetry install
3+
COPY pyproject.toml poetry.lock ./
4+
RUN poetry install
55

66
COPY ./ ./

poetry.lock

Lines changed: 60 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)