[build] Fix clang-tidy action (#3246)

Manually install python3.8, as actions/setup-python now needs Ubuntu 20.04.
This commit is contained in:
Peter Johnson
2021-03-19 08:59:14 -07:00
committed by GitHub
parent 1032c9b917
commit c3a8bdc240

View File

@@ -36,12 +36,8 @@ jobs:
git fetch --prune --unshallow
git checkout -b pr
git branch -f main origin/main
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install clang-format and clang-tidy
run: sudo apt-get update -q && sudo apt-get install -y clang-format-10 clang-tidy-10
run: sudo apt-get update -q && sudo apt-get install -y clang-format-10 clang-tidy-10 python3.8
- name: Install wpiformat
run: pip3 install wpiformat
- name: Create compile_commands.json