Merge pull request #365 from Whist-Team/dependabot/pip/pydantic-2.5.1 #369
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
branches: [ main, develop ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Whist-Team/actions/setup-poetry@v2 | |
with: | |
python-version: 3.9 | |
- name: Lint sources with flake8 | |
run: poetry run flake8 whist_core --count --show-source --statistics | |
- name: Lint sources with pylint | |
run: poetry run pylint whist_core | |
security: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run bandit | |
uses: tj-actions/bandit@v5 | |
with: | |
targets: | | |
whist_core | |
options: "-r" |