Skip to content

Commit

Permalink
installing all deps before running mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
fullerzz committed Sep 21, 2024
1 parent a915330 commit b590a74
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,29 @@ jobs:
mypy:
name: runner / mypy
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Load cached venv
id: cached-uv-dependencies
uses: actions/cache@v4
with:
path: /tmp/.uv-cache
key: uv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/uv.lock') }}
- name: Install dependencies
run: |
pip install uv==0.4.15
uv venv
source .venv/bin/activate
uv sync
- uses: actions/checkout@v4
- uses: tsuyoshicho/action-mypy@v4
with:
Expand Down

0 comments on commit b590a74

Please sign in to comment.