Bump sphinx-autodoc-typehints from 3.1.0 to 3.2.0 (#29) #55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: pylint | |
| on: [push] | |
| permissions: {} | |
| jobs: | |
| pylint: | |
| outputs: | |
| status: ${{ job.status }} | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.9", "3.10", "3.11", "3.12"] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m venv ./venv | |
| source ./venv/bin/activate | |
| echo "PATH=${PATH}" >> "${GITHUB_ENV}" | |
| python -m pip install --upgrade pip | |
| python -m pip install --requirement development-requirements.txt | |
| python -m pip install --requirement requirements.txt | |
| - name: Analysing the code with pylint | |
| run: | | |
| # shellcheck disable=SC2046 | |
| pylint $(git ls-files '*.py' ':!:docs/source/*') | |
| slack-notification: | |
| needs: [pylint] | |
| if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.pylint.outputs.status ) && github.ref_name == github.event.repository.default_branch }} | |
| secrets: | |
| SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | |
| uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v3 | |
| with: | |
| job-status: ${{ needs.pylint.outputs.status }} |