Added SSM notes, really want this feature at some point #10
This file contains 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: | |
paths: | |
# Changes to any python file: | |
- '**.py' | |
# Or Actions this workflow depends on (including itself): | |
- '.pylintrc' | |
- '.github/workflows/pylint.yml' | |
- '.github/workflows/composite-setup-python/action.yaml' | |
pull_request: | |
paths: | |
# Changes to any python file: | |
- '**.py' | |
# Or Actions this workflow depends on (including itself): | |
- '.pylintrc' | |
- '.github/workflows/pylint.yml' | |
- '.github/workflows/composite-setup-python/action.yaml' | |
jobs: | |
python-lint: | |
runs-on: ubuntu-latest | |
env: | |
PYTHON_VERSION: 3.12 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: ./.github/workflows/composite-setup-python | |
- name: Analysing the code with pylint | |
run: | | |
pylint $(git ls-files '*.py') |