Skip to content

ci: Add PR check GitHub action + Fix Linter/TypeChecker for the codebase + Refactor PosterImageCache #3

ci: Add PR check GitHub action + Fix Linter/TypeChecker for the codebase + Refactor PosterImageCache

ci: Add PR check GitHub action + Fix Linter/TypeChecker for the codebase + Refactor PosterImageCache #3

Workflow file for this run

name: PR Check
on:
pull_request:
branches:
- main
jobs:
lint_and_typecheck:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10' # Specify your desired Python version
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r .devcontainer/requirements.txt
- name: Linter
run: sh ./scripts/run_linter.sh
- name: Type-checker
run: sh ./scripts/run_mypy.sh