From 2a160e06872288908ae297ab7ced05d3afb92e8f Mon Sep 17 00:00:00 2001 From: Paolo Tranquilli Date: Tue, 10 Jun 2025 12:33:20 +0200 Subject: [PATCH] CI: rename `codegen` workflow to be more generic Also remove the python setup stage as it shouldn't be necessary any more seen that bazel uses a specific bundled one. --- .github/workflows/{codegen.yml => python-tooling.yml} | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) rename .github/workflows/{codegen.yml => python-tooling.yml} (82%) diff --git a/.github/workflows/codegen.yml b/.github/workflows/python-tooling.yml similarity index 82% rename from .github/workflows/codegen.yml rename to .github/workflows/python-tooling.yml index a5220791fe5..75fdd75299d 100644 --- a/.github/workflows/codegen.yml +++ b/.github/workflows/python-tooling.yml @@ -1,10 +1,11 @@ -name: Codegen +name: Python tooling on: pull_request: paths: - "misc/bazel/**" - "misc/codegen/**" + - "misc/scripts/models-as-data/bulk_generate_mad.py" - "*.bazel*" - .github/workflows/codegen.yml - .pre-commit-config.yaml @@ -17,13 +18,10 @@ permissions: contents: read jobs: - codegen: + check-python-tooling: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 - with: - python-version-file: 'misc/codegen/.python-version' - uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 name: Check that python code is properly formatted with: