Skip to content

IDL

IDL #2

Workflow file for this run

name: Check Generated Files
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
check-generate:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Set up Rust
uses: actions/setup-rust@v1
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install -y buf
pip install uv
- name: Run make generate
run: make generate
- name: Check for changes
run: |
git diff --exit-code || (echo 'Generated files are out of date. Run make generate and commit changes.' && exit 1)