add ci check for generated python

This commit is contained in:
sdcoffey
2026-03-09 20:55:29 -07:00
parent 216013b8fb
commit 62ff1a454c
4 changed files with 120 additions and 48 deletions
+24
View File
@@ -65,6 +65,26 @@ jobs:
- name: cargo fmt
run: cargo fmt -- --config imports_granularity=Item --check
schema_fixtures:
name: App-server schema fixtures
runs-on: ubuntu-24.04
needs: changed
if: ${{ needs.changed.outputs.codex == 'true' || needs.changed.outputs.workflows == 'true' || github.event_name == 'push' }}
defaults:
run:
working-directory: codex-rs
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.11"
- uses: astral-sh/setup-uv@v6
- uses: dtolnay/rust-toolchain@1.93.0
- name: Regenerate app-server schema fixtures
run: cargo run -p codex-app-server-protocol --bin write_schema_fixtures
- name: Check vendored schema fixtures are up to date
run: git diff --exit-code -- app-server-protocol/schema
cargo_shear:
name: cargo shear
runs-on: ubuntu-24.04
@@ -200,6 +220,10 @@ jobs:
with:
targets: ${{ matrix.target }}
components: clippy
- uses: actions/setup-python@v6
with:
python-version: "3.11"
- uses: astral-sh/setup-uv@v6
- if: ${{ matrix.target == 'x86_64-unknown-linux-musl' || matrix.target == 'aarch64-unknown-linux-musl'}}
name: Use hermetic Cargo home (musl)