Refactor Playnite Web MQTT with ImageCompressor and error handling #148
Workflow file for this run
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: CI Checks | |
on: | |
pull_request: | |
merge_group: | |
jobs: | |
ci-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install flake8 black bandit pytest pytest-cov | |
- name: Lint with flake8 | |
run: | | |
flake8 . | |
- name: Check code formatting with black | |
run: | | |
black --check . | |
- name: Security analysis with bandit | |
run: | | |
bandit -r . |