From 9877147b3b7cf58e149475092b494914dc245dac Mon Sep 17 00:00:00 2001 From: vadim Date: Wed, 18 Dec 2024 21:30:59 +0300 Subject: [PATCH] 1 --- .github/workflows/action.yml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 3e53346..6895568 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -30,18 +30,25 @@ jobs: # sort-paths: "./app" LintsMyPy: runs-on: ubuntu-latest - name: Mypy steps: - name: Checkout uses: actions/checkout@v2 - - run: ls -A - - name: Run Mypy - uses: jashparekh/mypy-action@v2 + - name: Install python + uses: actions/setup-python@v2 with: - path: "." - mypy_version: "0.910" - requirement_files: "app/requirements.txt" - python_version: "3.10" + python-version: '3.12' + architecture: 'x64' + - name: Install requirements + run: pip install -r requirements.txt + - run: pip install -r app/requirements.txt + - run: mypy app/ +# - name: Run Mypy +# uses: jashparekh/mypy-action@v2 +# with: +# path: "." +# mypy_version: "0.910" +# requirement_files: "app/requirements.txt" +# python_version: "3.10" # Tests: # runs-on: ubuntu-latest