From 3448aeeeb0cc1b31e5b845046a389ed602fd3a41 Mon Sep 17 00:00:00 2001 From: Zach Fuller Date: Sat, 21 Sep 2024 12:44:53 -0700 Subject: [PATCH] added additional setup inputs --- .github/workflows/reviewdog.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 3471880..1264b52 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -26,8 +26,6 @@ jobs: uv venv source .venv/bin/activate uv sync - - - uses: actions/checkout@v4 - uses: tsuyoshicho/action-mypy@v4 with: github_token: ${{ secrets.github_token }} @@ -36,6 +34,9 @@ jobs: # Change reporter level if you need. # GitHub Status Check won't become failure with warning. level: warning + setup_command: | + source .venv/bin/activate + setup_method: adaptive # Change the current directory to run mypy command. # mypy command reads setup.cfg or other settings file in this path. workdir: .