Skip to content

Commit

Permalink
add security check to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MarquessV committed Jun 3, 2024
1 parent e07f181 commit 561b015
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.9'
- uses: actions/cache@v2
Expand All @@ -34,7 +34,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.9'
- uses: actions/cache@v2
Expand All @@ -53,7 +53,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.9'
- uses: actions/cache@v2
Expand All @@ -72,7 +72,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.9'
- uses: actions/cache@v2
Expand All @@ -85,6 +85,22 @@ jobs:
. scripts/ci_install_deps
poetry run make check-types
check-dependencies:
name: Check for vulnerabilities
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install OSV scanner
run: |
pip install osv-scanner
- name: Run OSV scanner
run: |
osv-scanner --lockfile=./poetry.lock
test-doctest:
name: Run Doctests
runs-on: ubuntu-latest
Expand Down

0 comments on commit 561b015

Please sign in to comment.