Skip to content

Commit 1e1d8a9

Browse files
committed
chore: enable security ci
1 parent 51a68a3 commit 1e1d8a9

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/push.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,29 @@ jobs:
5454
- name: Check typing
5555
working-directory: ${{ matrix.lib }}
5656
run: poetry run mypy --install-types --non-interactive --strict $(echo "${{ matrix.lib }}" | tr "-" "_")
57+
58+
security:
59+
runs-on: ubuntu-latest
60+
strategy:
61+
matrix:
62+
lib:
63+
- scaleway-core
64+
- scaleway
65+
- scaleway-async
66+
steps:
67+
- uses: actions/checkout@v2
68+
- name: Set up Python
69+
uses: actions/setup-python@v2
70+
with:
71+
python-version: 3.8
72+
- name: Install poetry
73+
working-directory: ${{ matrix.lib }}
74+
run: |
75+
pip install poetry
76+
poetry --version
77+
- name: Install dependencies
78+
working-directory: ${{ matrix.lib }}
79+
run: poetry install --no-root
80+
- name: Check security
81+
working-directory: ${{ matrix.lib }}
82+
run: poetry run bandit -sB105 -r .

0 commit comments

Comments
 (0)