Update lint_python.yml

Seeing if upgrading the actions will fix the safety check issue.
This commit is contained in:
Tib3rius 2023-02-21 14:44:51 -05:00 committed by GitHub
parent a9608d663d
commit e8264ebe35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 2 deletions

View File

@ -4,8 +4,14 @@ jobs:
lint_python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: |
3.8
3.9
3.10
3.11
- run: pip install --upgrade pip poetry
- run: pip install bandit black codespell flake8 flake8-bugbear flake8-comprehensions isort mypy pytest pyupgrade safety requests
- run: bandit --recursive --skip B101 . || true # B101 is assert statements