From 0806f86bec59529b0f0a13954e5df09e73b2dfcd Mon Sep 17 00:00:00 2001 From: Hendrik Muhs Date: Fri, 16 Feb 2024 13:08:41 +0100 Subject: [PATCH] update ubuntu images and clang-format (#288) update images on linux and use a more recent version of clang-format --- .github/workflows/docs.yml | 2 +- .github/workflows/keyvi.yml | 2 +- .github/workflows/rust.yml | 2 +- .github/workflows/style.yml | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f41c4063a..98fc864ba 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -14,7 +14,7 @@ on: jobs: build: - runs-on: 'ubuntu-20.04' + runs-on: 'ubuntu-22.04' name: 'github pages' env: BUILD_TYPE: 'Release' diff --git a/.github/workflows/keyvi.yml b/.github/workflows/keyvi.yml index d6f909c84..1d3c97522 100644 --- a/.github/workflows/keyvi.yml +++ b/.github/workflows/keyvi.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: type: ['Release', 'Debug'] - os: ['macos-latest', 'ubuntu-20.04'] + os: ['macos-latest', 'ubuntu-22.04'] steps: - name: install Linux deps if: runner.os == 'Linux' diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2ef96392c..3009db456 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -12,7 +12,7 @@ env: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 6de9ff6c9..ba8de7ab6 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -13,7 +13,7 @@ on: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -24,8 +24,8 @@ jobs: - name: install deps run: | sudo apt-get update - sudo apt-get install -y clang-format-6.0 - sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-6.0 1000 + sudo apt-get install -y clang-format-14 + sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-14 1000 - uses: BSFishy/pip-action@v1 with: packages: cpplint