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