@@ -28,15 +28,16 @@ runs:
2828 echo "name=$name" >> $GITHUB_OUTPUT
2929 echo "version=$version" >> $GITHUB_OUTPUT
3030 working-directory : ${{ inputs.project-directory }}
31+ shell : bash
3132 - name : Check for lock changes
3233 run : poetry check --lock
3334 working-directory : ${{ inputs.project-directory }}
35+ shell : bash
3436 - name : Cache virtualenv
3537 uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
3638 with :
3739 path : ${{ inputs.project-directory }}/.venv
3840 key : ${{ inputs.package-name }}-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles(format('{0}/poetry.lock', inputs.project-directory)) }}
39- working-directory : ${{ inputs.project-directory }}
4041 - name : Install ${{ steps.get_package_info.outputs.name }}
4142 run : |
4243 if [ "${{ inputs.install-extras }}" != "" ]; then
@@ -49,15 +50,19 @@ runs:
4950 poetry install -v
5051 fi
5152 working-directory : ${{ inputs.project-directory }}
53+ shell : bash
5254 - name : Lint
5355 run : poetry run ni-python-styleguide lint
5456 working-directory : ${{ inputs.project-directory }}
57+ shell : bash
5558 - name : Mypy static analysis
5659 run : poetry run mypy
5760 working-directory : ${{ inputs.project-directory }}
61+ shell : bash
5862 - name : Add virtualenv to the path for pyright-action
5963 run : echo "$(poetry env info --path)/bin" >> $GITHUB_PATH
6064 working-directory : ${{ inputs.project-directory }}
65+ shell : bash
6166 - name : Pyright static analysis
6267 uses : jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe # v2.3.2
6368 with :
0 commit comments