Skip to content

enhance: switch to poetry #1132

enhance: switch to poetry

enhance: switch to poetry #1132

name: Check proto on pull request
on:
pull_request:
branches:
- master
jobs:
build:
name: Run Check Proto
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.11]
steps:
- name: Check out from Git
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install --upgrade pipx
pipx install poetry
poetry build
pip install -e .
- name: Try generate proto
run: |
git submodule update --init
make check_proto_product