From a79fa2026bad675d0146df5c734f70feddbbd5b8 Mon Sep 17 00:00:00 2001 From: Ed Hennis Date: Thu, 8 Dec 2022 20:41:50 -0800 Subject: [PATCH] Update GitHub Actions to ubuntu-latest: (#4357) * Per actions/runner-images#6002, ubuntu-18.04 is being deprecated. If latest ever fails in the future, we'll need to fix the jobs anyway, so catch it early. * Use long option names * Force clang-format to ubuntu-20.04 because LLVM 10 is not available for 22.04 --- .github/workflows/clang-format.yml | 7 ++++--- .github/workflows/doxygen.yml | 2 +- .github/workflows/levelization.yml | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 78ad98c7d9..941789844b 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -4,16 +4,17 @@ on: [push, pull_request] jobs: check: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 env: CLANG_VERSION: 10 steps: - uses: actions/checkout@v2 - name: Install clang-format run: | + codename=$( lsb_release --codename --short ) sudo tee /etc/apt/sources.list.d/llvm.list >/dev/null <