Skip to content

Commit

Permalink
[fix](ga) try fix clang format action (apache#40393)
Browse files Browse the repository at this point in the history
Because distutils was removed in Python 3.12, we get
ModuleNotFoundError: module named 'distutils'
Use 3.10
  • Loading branch information
morningman authored Sep 4, 2024
1 parent 301bd04 commit ae78c52
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ jobs:
git checkout 6adbe14579e5b8e19eb3e31e5ff2479f3bd302c7
popd &>/dev/null
- name: Install Python dependencies
uses: actions/setup-python@v5
with:
python-version: '3.10' # Adjust if needed

- name: "Format it!"
if: ${{ steps.filter.outputs.changes == 'true' }}
uses: ./.github/actions/clang-format-lint-action
Expand Down

0 comments on commit ae78c52

Please sign in to comment.