mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
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.
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
name: Codegen
|
name: Python tooling
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- "misc/bazel/**"
|
- "misc/bazel/**"
|
||||||
- "misc/codegen/**"
|
- "misc/codegen/**"
|
||||||
|
- "misc/scripts/models-as-data/bulk_generate_mad.py"
|
||||||
- "*.bazel*"
|
- "*.bazel*"
|
||||||
- .github/workflows/codegen.yml
|
- .github/workflows/codegen.yml
|
||||||
- .pre-commit-config.yaml
|
- .pre-commit-config.yaml
|
||||||
@@ -17,13 +18,10 @@ permissions:
|
|||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
codegen:
|
check-python-tooling:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v4
|
|
||||||
with:
|
|
||||||
python-version-file: 'misc/codegen/.python-version'
|
|
||||||
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
|
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
|
||||||
name: Check that python code is properly formatted
|
name: Check that python code is properly formatted
|
||||||
with:
|
with:
|
||||||
Reference in New Issue
Block a user