diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-03-01 16:28:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-01 16:28:58 +0100 |
commit | 55c0a2ea03369efefa0f795bdc7f81fbd4568a47 (patch) | |
tree | 069520ecface5af683b236029919af91dceeaf31 /.github/workflows | |
parent | cee79bb7a6989677812a88833fca2ed4156a117f (diff) | |
parent | cba90d630177ce6c57b5537e74ef3eab4e9c1ea2 (diff) | |
download | redot-cpp-55c0a2ea03369efefa0f795bdc7f81fbd4568a47.tar.gz |
Merge pull request #525 from vnen/update-clang-format
Update clang-format to version 11
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ca9853..129afd9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -147,14 +147,22 @@ jobs: static-checks: name: Static Checks (clang-format) - runs-on: ubuntu-16.04 + runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v2.3.4 - + uses: actions/checkout@v2 + + - name: Make apt sources.list use the default Ubuntu repositories + run: | + sudo rm -f /etc/apt/sources.list.d/* + sudo cp -f misc/ci/sources.list /etc/apt/sources.list + sudo apt-get update + - name: Install dependencies run: | - sudo apt-get install clang-format-8 + sudo apt-get install -qq dos2unix recode clang-format-11 + sudo update-alternatives --remove-all clang-format + sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-11 100 - name: Style checks via clang-format run: | |