Bump com.github.spotbugs:spotbugs-maven-plugin from 4.9.7.0 to 4.9.8.1 in /java #329
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: | |
| branches-ignore: [main] | |
| pull_request: | |
| branches: [main] | |
| 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: | |
| - 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 pip install --upgrade pip | |
| python -m pip install --group all . | |
| - name: analysing the code with pylint | |
| run: | | |
| # shellcheck disable=SC2046 | |
| pylint $(git ls-files '*.py') | |
| 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 }} |