Skip to content

Commit

Permalink
[fix](ga) try fix clang format action (#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 and dataroaring committed Oct 5, 2024
1 parent 4ca347b commit 0c01702
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 c71d0bf4e21876ebec3e5647491186f8797fde31 # v0.18.2
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 0c01702

Please sign in to comment.