diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index fc1e30ae8..642fc892a 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -272,3 +272,17 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} HZ_TEST_AWS_INSTANCE_PRIVATE_IP: ${{ secrets.HZ_TEST_AWS_INSTANCE_PRIVATE_IP }} + + enforce-code-formatting: + runs-on: ubuntu-latest + needs: get-refs + + steps: + - uses: actions/checkout@v5 + with: + ref: ${{ needs.get-refs.outputs.ref }} + token: ${{ secrets.GH_TOKEN }} + + - uses: jidicula/clang-format-action@6cd220de46c89139a0365edae93eee8eb30ca8fe # v4.16.0 + with: + check-path: hazelcast