Skip to content

Use protobuf to parse pprof binary data, do not reply on cffi to call golang anymore. #7

Use protobuf to parse pprof binary data, do not reply on cffi to call golang anymore.

Use protobuf to parse pprof binary data, do not reply on cffi to call golang anymore. #7

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches:
- master
jobs:
lint:
name: flake8 & black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: codespell-project/actions-codespell@v2
with:
check_filenames: true
skip: '*.log,./tests/pprof_data/*,poetry.lock'
- uses: actions/setup-python@v4
with:
ignore_words_list: hello,world
python-version: 3.10
architecture: "x64"
- name: Cache venv
uses: actions/cache@v2
with:
path: venv
# Look to see if there is a cache hit for the corresponding requirements file
key: lintenv-v2
- name: Install Dependencies
run: |
python3 -m venv venv
. venv/bin/activate
pip install -U pip flake8 black
- name: Flake8 test
run: |
. venv/bin/activate
flake8 .
- name: Black test
run: |
. venv/bin/activate
black --check .