Skip to content

Event branch #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 28, 2023
Merged
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
39 changes: 9 additions & 30 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,37 +16,16 @@ jobs:
- name: 'Checkout Repository'
uses: actions/checkout@v3

# Install pyenv and Python 3.11
- name: 'Set up Python 3.11 and pyenv'
run: |
sudo apt-get update
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev wget \
curl llvm libncurses5-dev libncursesw5-dev \
xz-utils tk-dev libffi-dev liblzma-dev \
python3-openssl git

curl https://pyenv.run | bash
echo 'export PATH="$HOME/.pyenv/bin:$PATH"' >> $HOME/.bashrc
echo 'eval "$(pyenv init --path)"' >> $HOME/.bashrc
echo 'eval "$(pyenv virtualenv-init -)"' >> $HOME/.bashrc
exec "$SHELL"

pyenv install 3.11.0
pyenv global 3.11.0

# Ensure the changes to PATH are available in the current shell
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv virtualenv-init -)"
# Install Python
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.11

# Install Poetry
- name: 'Install Poetry'
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Poetry Install
uses: knowsuchagency/poetry-install@v2

# Run Poetry commands
- name: 'Run Poetry Update'
run: |
poetry --version
poetry update
- name: Update Python Poetry package
uses: dishapatel010/[email protected]