Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Test

permissions:
contents: read

on:
push:
pull_request:
Expand All @@ -18,15 +21,15 @@ jobs:
uses: actions/checkout@v4

- id: setup-python
name: Set up Python 3.11
name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.13

- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.2
version: 2.1.3
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
Expand Down
10 changes: 6 additions & 4 deletions Dockerfile.base
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
ARG APP_NAME=hackster
ARG PYTHON_VERSION=3.11.2
ARG POETRY_VERSION=1.8.2
ARG PYTHON_VERSION=3.13.9

# `python-base` sets up all our shared environment variables
FROM python:${PYTHON_VERSION}-slim as python-base
FROM python:${PYTHON_VERSION}-slim AS python-base

# Poetry version used in this stage
ARG POETRY_VERSION=2.1.3

# python
ENV \
Expand All @@ -28,7 +30,7 @@ ENV \
ENV APP_PATH="/opt/hackster"

# `builder-base` stage is used to build deps + create our virtual environment
FROM python-base as builder-base
FROM python-base AS builder-base
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
# deps for installing poetry
Expand Down
Loading