diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 9a4af02..2bccaa6 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -7,16 +7,12 @@ inputs: runs: using: "composite" steps: - - name: python + - name: Setup Python uses: actions/setup-python@v5 with: python-version: ${{ inputs.python-version }} - - name: install requirements + - name: Install Requirements shell: bash run: | - pip install wheel - pip install mypy - pip install pytest - pip install pytest-cov - pip install pylint + pip install wheel mypy pytest pytest-benchmark pytest-cov pylint pip install . diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index ebf3b61..9008650 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -9,16 +9,17 @@ jobs: python-version: [ "3.10", # "3.11", - "3.12" + "3.12", ] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: ./.github/actions/setup + - uses: actions/checkout@v4 + - name: Setup + uses: ./.github/actions/setup with: python-version: ${{ matrix.python-version }} - - name: typecheck + - name: Typecheck run: | mypy --config-file mypy.ini src/build123d