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:
parent
f0b611e97a
commit
02b0ec13dc
1 changed files with 19 additions and 0 deletions
19
.github/workflows/dependency-review.yml
vendored
19
.github/workflows/dependency-review.yml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue