Skip to content

chore(deps): update actions/setup-python digest to f677139 #125

chore(deps): update actions/setup-python digest to f677139

chore(deps): update actions/setup-python digest to f677139 #125

Workflow file for this run

name: flake8
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Set up Python 3.9
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Setup flake8 config
run: |
echo '[flake8]' > setup.cfg
echo 'max-line-length = 120' >> setup.cfg
- name: Analysing the code with flake8
run: |
find -name upgrade_strategy -exec sh -c "flake8 {} && exit 0 || echo $? > .exit_status" \;
test -f .exit_status && rm .exit_status && exit 1; exit 0;