Skip to content

chore(deps): Bump pytest from 8.3.1 to 8.3.3 #38

chore(deps): Bump pytest from 8.3.1 to 8.3.3

chore(deps): Bump pytest from 8.3.1 to 8.3.3 #38

Workflow file for this run

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