[Rust] Fix function/method discovery from harness #3811
Workflow file for this run
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: 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v2.4.0 | |
- name: Set up Python environment | |
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v3.0.0 | |
with: | |
python-version: "3.8" | |
- 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 |