Skip to content

Commit

Permalink
update ubuntu images and clang-format (#288)
Browse files Browse the repository at this point in the history
update images on linux and use a more recent version of clang-format
  • Loading branch information
hendrikmuhs authored Feb 16, 2024
1 parent 73cd42e commit 0806f86
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
build:
runs-on: 'ubuntu-20.04'
runs-on: 'ubuntu-22.04'
name: 'github pages'
env:
BUILD_TYPE: 'Release'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/keyvi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
jobs:
build:

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 0806f86

Please sign in to comment.