Skip to content

Commit

Permalink
Fixing invalid vulnerability report (#402)
Browse files Browse the repository at this point in the history
* Fixing invalid vulnerability report

* Removing some pinned items

* more

* pip upgrade
  • Loading branch information
chayim authored Nov 15, 2022
1 parent a34c6b2 commit 900b445
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 47 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,22 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: install python
uses: actions/setup-python@v3.1.2
uses: actions/setup-python@v4
with:
python-version: ${{env.pythonversion}}
- name: create local poetry install
run: |
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip setuptools
python -m pip install poetry
poetry install
- uses: trailofbits/[email protected]
with:
virtual-environment: .venv
ignore-vulns: |
GHSA-w596-4wvx-j9j6 # subversion related git dep, dependency for pytest. This is no impact here.
GHSA-2p9h-ccw7-33gf # invalid ddos comment on the cleo package
lint:
name: Linter
Expand All @@ -47,7 +51,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python 3.9
uses: actions/setup-python@v4.3.0
uses: actions/setup-python@v4
with:
python-version: ${{env.pythonversion}}
#----------------------------------------------
Expand All @@ -64,7 +68,7 @@ jobs:
#----------------------------------------------
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3.0.11
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
Expand Down Expand Up @@ -119,7 +123,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python ${{ matrix.pyver }}
uses: actions/setup-python@v4.3.0
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.pyver }}
#----------------------------------------------
Expand All @@ -136,7 +140,7 @@ jobs:
#----------------------------------------------
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3.0.11
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
Expand Down
42 changes: 1 addition & 41 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ click = "^8.0.1"
pptree = "^3.1"
types-redis = ">=3.5.9,<5.0.0"
python-ulid = "^1.0.3"
cleo = "1.0.0a5"
typing-extensions = "^4.4.0"
hiredis = "^2.0.0"
more-itertools = "^8.14.0"
Expand Down

0 comments on commit 900b445

Please sign in to comment.