aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/cpp_lint.yml
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-05-01 14:44:48 +0200
committersfan5 <sfan5@live.de>2022-05-06 15:15:53 +0200
commite108954633df9e4b2e235dd8e16b64f846a2d251 (patch)
tree01bd7adef3cdecde9e728c302a545ef5ff78de68 /.github/workflows/cpp_lint.yml
parent47cf257c4098f087d4dc46ac28ddb39141222b0c (diff)
downloadminetest-e108954633df9e4b2e235dd8e16b64f846a2d251.tar.gz
minetest-e108954633df9e4b2e235dd8e16b64f846a2d251.tar.bz2
minetest-e108954633df9e4b2e235dd8e16b64f846a2d251.zip
Sort out some issues with our CI setup
* add missing apt-get update where needed * move some jobs to run on ubuntu-20.04 * update actions plugins to latest * speed up the job that runs multiplayer tests
Diffstat (limited to '.github/workflows/cpp_lint.yml')
-rw-r--r--.github/workflows/cpp_lint.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/cpp_lint.yml b/.github/workflows/cpp_lint.yml
index 2bd884c7a..581ee06d6 100644
--- a/.github/workflows/cpp_lint.yml
+++ b/.github/workflows/cpp_lint.yml
@@ -26,12 +26,13 @@ on:
jobs:
# clang_format:
-# runs-on: ubuntu-18.04
+# runs-on: ubuntu-20.04
# steps:
-# - uses: actions/checkout@v2
+# - uses: actions/checkout@v3
# - name: Install clang-format
# run: |
-# sudo apt-get install clang-format-9 -qyy
+# sudo apt-get update
+# sudo apt-get install -y clang-format-9
#
# - name: Run clang-format
# run: |
@@ -41,14 +42,13 @@ jobs:
# CLANG_FORMAT: clang-format-9
clang_tidy:
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-20.04
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Install deps
run: |
- sudo apt-get install clang-tidy-9 -qyy
source ./util/ci/common.sh
- install_linux_deps
+ install_linux_deps clang-tidy-9
- name: Run clang-tidy
run: |