chore(deps): Bump fastapi from 0.111.1 to 0.112.2 #32
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: Lint Check | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
run-lint: | |
runs-on: ubuntu-latest | |
name: Run Lint | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v4 | |
- name: Set up Python environment | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
# キャッシュの読み込み | |
- name: Cache dependencies | |
uses: actions/cache@v4 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
# 依存関係のインストール | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
# Ruffの実行 | |
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#using-ruff-to-lint-code | |
- name: Lint with Ruff | |
run: | | |
pip install ruff | |
ruff check . --output-format=github | |
# mypyの実行 | |
- name: Lint with Mypy | |
run: | | |
pip install mypy | |
mypy . --config-file pyproject.toml --ignore-missing-imports --no-namespace-packages |