Skip to content

[ECO-5456] feat: add VCDiff support for delta message decoding #189

[ECO-5456] feat: add VCDiff support for delta message decoding

[ECO-5456] feat: add VCDiff support for delta message decoding #189

Workflow file for this run

name: Linting check
on:
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Setup poetry
uses: abatilo/actions-poetry@v4
with:
poetry-version: '1.8.5'
- name: Setup a local virtual environment
run: |
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
- uses: actions/cache@v3
name: Define a cache for the virtual environment based on the dependencies lock file
id: cache
with:
path: ./.venv
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
- name: Ensure cache is healthy
if: steps.cache.outputs.cache-hit == 'true'
shell: bash
run: poetry run pip --version >/dev/null 2>&1 || rm -rf .venv
- name: Install dependencies
run: poetry install -E crypto
- name: Lint with flake8
run: poetry run flake8