Files
notifications-api/.github/actions/setup-project/action.yml
Kenneth Kehl ebbb894245 upgrade poetry
2025-05-27 14:24:42 -07:00

25 lines
709 B
YAML

name: Set up project
description: Setup python & install dependencies
runs:
using: composite
steps:
- name: Install container dependencies
shell: bash
run: |
sudo apt-get update \
&& sudo apt-get install -y --no-install-recommends \
libcurl4-openssl-dev
- name: Set up Python 3.12.3
uses: actions/setup-python@v4
with:
python-version: "3.12.3"
- name: Install poetry
shell: bash
run: pip install poetry==2.1.3
- name: Install poetry export
shell: bash
run: poetry self add poetry-plugin-export
- name: Downgrade virtualenv to compatible version
shell: bash
run: pip install "virtualenv<20.30"