feat: Field Trial 6 — AsyncUseCaseProtocol DX 検証(天気ダッシュボード API)(#101)… #116
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: "latest" | |
| enable-cache: true | |
| - name: Set up Python ${{ matrix.python-version }} | |
| run: uv python install ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: uv sync --all-extras | |
| - name: pytest (with coverage) | |
| run: uv run pytest | |
| - name: mypy | |
| run: uv run mypy src/ | |
| - name: ruff check | |
| run: uv run ruff check src/ tests/ | |
| - name: ruff format | |
| run: uv run ruff format --check src/ tests/ | |
| - name: pip-audit | |
| run: uv run pip-audit |