diff --git a/.github/workflows/verify-pull-request.yml b/.github/workflows/verify-pull-request.yml index b7464a5..da4ea56 100644 --- a/.github/workflows/verify-pull-request.yml +++ b/.github/workflows/verify-pull-request.yml @@ -17,3 +17,12 @@ jobs: repository-cache: true - run: echo "CC=${{ matrix.cpp-compiler }}" >> $GITHUB_ENV - run: bazel test ... + check-formatting: + name: "Check Python formatting" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: psf/black@stable + with: + options: "--check --verbose" + version: "24.8.0"