build(deps): bump actions/upload-artifact from 5.0.0 to 6.0.0 #4684
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: Lint and format | |
| on: pull_request | |
| permissions: read-all | |
| jobs: | |
| codestyle: | |
| runs-on: ubuntu-latest | |
| name: Codestyle | |
| steps: | |
| - name: Check out source repository | |
| uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v2.4.0 | |
| - name: Set up Python environment | |
| uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v3.0.0 | |
| with: | |
| python-version: "3.10" | |
| - name: flake8 Lint post process | |
| uses: py-actions/flake8@84ec6726560b6d5bd68f2a5bed83d62b52bb50ba # v2 | |
| with: | |
| ignore: "E125,W503,W504,W605" | |
| max-line-length: "100" | |
| path: "src/" | |
| - name: flake8 Lint python frontend | |
| uses: py-actions/flake8@84ec6726560b6d5bd68f2a5bed83d62b52bb50ba # v2 | |
| with: | |
| ignore: "E125,W503,W504,W605" | |
| max-line-length: "100" | |
| path: "frontends/python/" | |
| - name: Install yapf | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: yapf code formatting | |
| run: | | |
| yapf -d -r ./src/fuzz_introspector/ | |
| yapf -d -r ./tools/auto-fuzz | |
| yapf -d -r ./tools/web-fuzzing-introspection/app/webapp/ | |
| yapf -d ./tools/web-fuzzing-introspection/app/*.py | |
| yapf -d -r ./tools/web-fuzzing-introspection/app/static/assets/db | |
| - name: pylint | |
| run: | | |
| cd src && pylint --recursive=y fuzz_introspector main.py || true |