From c3a8bdc2404ae0b39275cc4144689b6c860b0944 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Fri, 19 Mar 2021 08:59:14 -0700 Subject: [PATCH] [build] Fix clang-tidy action (#3246) Manually install python3.8, as actions/setup-python now needs Ubuntu 20.04. --- .github/workflows/lint-format.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/lint-format.yml b/.github/workflows/lint-format.yml index f496f3abac..366bfab343 100644 --- a/.github/workflows/lint-format.yml +++ b/.github/workflows/lint-format.yml @@ -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