Skip to content

feat: implement Dart package release and verification workflows #6

feat: implement Dart package release and verification workflows

feat: implement Dart package release and verification workflows #6

name: Verify protocol bindings
on:
push:
branches:
- "**"
pull_request:
permissions:
contents: read
concurrency:
group: verify-protocols-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
name: Verify generated bindings
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Run generator tests
run: python -m unittest discover -s tests
- name: Generate protocol bindings
run: python -m protocol_generator
- name: Verify generated files are current
run: git diff --exit-code generated