micafer commented on code in PR #2082:
URL: https://github.com/apache/libcloud/pull/2082#discussion_r2693866107
##########
.github/workflows/main.yml:
##########
@@ -273,38 +248,34 @@ jobs:
security_checks:
name: Run Security Checks
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-latest
strategy:
matrix:
- python_version: [3.9]
+ python_version: [ "3.10" ]
steps:
- - uses: actions/checkout@master
- with:
- fetch-depth: 1
-
+ - uses: actions/checkout@v6
- name: Install OS / deb dependencies
run: |
sudo DEBIAN_FRONTEND=noninteractive apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq gcc
libvirt-dev
- name: Use Python ${{ matrix.python_version }}
- uses: actions/setup-python@v5
+ uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python_version }}
- name: Cache Python Dependencies
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements-lint.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install Python Dependencies
- run: |
- pip install -r requirements-ci.txt
+ run: pip install -r requirements-ci.txt
Review Comment:
```suggestion
run: |
pip install --upgrade pip
pip install -r requirements-ci.txt
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]