Merge pull request #12 from Cameronsplaze/dependabot/pip/cdk-nag-2.28… #30
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' | |
# Any requirements file: | |
- '**/requirements*.txt' | |
# 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: | | |
make pylint |