1
Fork 0
mirror of https://github.com/allthingslinux/tux.git synced 2024-10-03 00:53:12 +00:00

Update dependency-review.yml

added in pyenv 3.11
This commit is contained in:
Scott 2023-12-27 19:03:28 -05:00 committed by GitHub
parent f0b611e97a
commit 02b0ec13dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,25 @@ jobs:
- name: 'Dependency Review'
uses: actions/dependency-review-action@v3
# Install pyenv and Python 3.11
- name: 'Set up Python 3.11'
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
# Add a step to update dependencies using Poetry
- name: 'Update Dependencies'
run: |