Merge pull request #113 from asfadmin/dependabot/pip/boto3-1.35.54 #172
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: Static code analysis | |
on: push | |
jobs: | |
flake8: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- run: | | |
python -m pip install --upgrade pip | |
python -m pip install flake8 flake8-import-order flake8-builtins # FIXME add flake8-blind-except | |
- run: flake8 --max-line-length=120 --import-order-style=pycharm --statistics | |
cfn-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: scottbrenner/cfn-lint-action@v2 | |
with: | |
command: cfn-lint --info --ignore-checks W3002 --template **/cloudformation.yaml |