Skip to content

Adding dependency vulnerability scanning to the CI process #345

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,31 @@ on:
schedule:
- cron: '0 6 * * *' # Daily 6AM UTC build

env:
pythonversion: 3.9


jobs:

dependency-audit:
name: Dependency audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install python
uses: actions/[email protected]
with:
python-version: ${{env.pythonversion}}
- name: create local poetry install
run: |
python -m venv .venv
source .venv/bin/activate
python -m pip install poetry
poetry install
- uses: trailofbits/[email protected]
with:
virtual-environment: .venv

lint:
name: Linter
runs-on: ubuntu-latest
Expand All @@ -27,7 +49,7 @@ jobs:
- name: Setup Python 3.9
uses: actions/[email protected]
with:
python-version: 3.9
python-version: ${{env.pythonversion}}
#----------------------------------------------
# ----- install & configure poetry -----
#----------------------------------------------
Expand Down