Skip to content

Commit 900b445

Browse files
authored
Fixing invalid vulnerability report (#402)
* Fixing invalid vulnerability report * Removing some pinned items * more * pip upgrade
1 parent a34c6b2 commit 900b445

File tree

3 files changed

+10
-47
lines changed

3 files changed

+10
-47
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,22 @@ jobs:
2626
steps:
2727
- uses: actions/checkout@v3
2828
- name: install python
29-
uses: actions/setup-python@v3.1.2
29+
uses: actions/setup-python@v4
3030
with:
3131
python-version: ${{env.pythonversion}}
3232
- name: create local poetry install
3333
run: |
3434
python -m venv .venv
3535
source .venv/bin/activate
36+
pip install --upgrade pip setuptools
3637
python -m pip install poetry
3738
poetry install
3839
- uses: trailofbits/gh-action-pip-audit@v1.0.0
3940
with:
4041
virtual-environment: .venv
42+
ignore-vulns: |
43+
GHSA-w596-4wvx-j9j6 # subversion related git dep, dependency for pytest. This is no impact here.
44+
GHSA-2p9h-ccw7-33gf # invalid ddos comment on the cleo package
4145
4246
lint:
4347
name: Linter
@@ -47,7 +51,7 @@ jobs:
4751
- name: Checkout
4852
uses: actions/checkout@v3
4953
- name: Setup Python 3.9
50-
uses: actions/setup-python@v4.3.0
54+
uses: actions/setup-python@v4
5155
with:
5256
python-version: ${{env.pythonversion}}
5357
#----------------------------------------------
@@ -64,7 +68,7 @@ jobs:
6468
#----------------------------------------------
6569
- name: Load cached venv
6670
id: cached-poetry-dependencies
67-
uses: actions/cache@v3.0.11
71+
uses: actions/cache@v3
6872
with:
6973
path: .venv
7074
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
@@ -119,7 +123,7 @@ jobs:
119123
- name: Checkout
120124
uses: actions/checkout@v3
121125
- name: Setup Python ${{ matrix.pyver }}
122-
uses: actions/setup-python@v4.3.0
126+
uses: actions/setup-python@v4
123127
with:
124128
python-version: ${{ matrix.pyver }}
125129
#----------------------------------------------
@@ -136,7 +140,7 @@ jobs:
136140
#----------------------------------------------
137141
- name: Load cached venv
138142
id: cached-poetry-dependencies
139-
uses: actions/cache@v3.0.11
143+
uses: actions/cache@v3
140144
with:
141145
path: .venv
142146
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}

poetry.lock

Lines changed: 1 addition & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ click = "^8.0.1"
4242
pptree = "^3.1"
4343
types-redis = ">=3.5.9,<5.0.0"
4444
python-ulid = "^1.0.3"
45-
cleo = "1.0.0a5"
4645
typing-extensions = "^4.4.0"
4746
hiredis = "^2.0.0"
4847
more-itertools = "^8.14.0"

0 commit comments

Comments
 (0)