Skip to content

Commit

Permalink
Добавлен GHA workflow для проверки актуальности генерируемого кода (#624
Browse files Browse the repository at this point in the history
)
  • Loading branch information
MarshalX authored Nov 17, 2023
1 parent b0f5b28 commit fecad89
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/codegen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Codegen check

on: [ pull_request ]

permissions:
contents: read

jobs:
codegen_check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository.
uses: actions/checkout@v4

- name: Set up Python.
uses: actions/setup-python@v4
with:
python-version: 3.7

- name: Install dependencies.
run: |
pip install -r requirements-dev.txt
pip install -r docs/requirements.txt
- name: Run codegen.
run: |
make gen
cd docs
make gen
- name: Check working directory is clean.
run: git diff --exit-code

0 comments on commit fecad89

Please sign in to comment.