mirror of
https://github.com/github/codeql.git
synced 2025-12-16 08:43:11 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
36 lines
824 B
YAML
36 lines
824 B
YAML
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
|
|
branches:
|
|
- main
|
|
- rc/*
|
|
- codeql-cli-*
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
check-python-tooling:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
|
|
name: Check that python code is properly formatted
|
|
with:
|
|
extra_args: black --all-files
|
|
- name: Run codegen tests
|
|
shell: bash
|
|
run: |
|
|
bazel test //misc/codegen/...
|