19
19
- name : Set up ruby
20
20
uses : ruby/setup-ruby@v1
21
21
with :
22
- ruby-version : 3.3
22
+ ruby-version : 3.4
23
23
- name : Install dependencies
24
24
run : bundle install
25
25
- name : Run rubocop
@@ -39,13 +39,10 @@ jobs:
39
39
sudo apt-get update -y
40
40
sudo apt-get install -y wget gnupg2 git
41
41
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
42
- sudo bash -c "echo 'deb https://apt.llvm.org/noble/ llvm-toolchain-noble-18 main' >> /etc/apt/sources.list"
42
+ sudo bash -c "echo 'deb https://apt.llvm.org/noble/ llvm-toolchain-noble main' >> /etc/apt/sources.list"
43
43
sudo apt-get update -y
44
- sudo apt-get install -y clang-format-18
44
+ sudo apt-get install -y clang-format
45
45
- name : Run clang-format
46
- env :
47
- CB_GIT_CLANG_FORMAT : /usr/bin/git-clang-format-18
48
- CB_CLANG_FORMAT : /usr/bin/clang-format-18
49
46
run : ./bin/check-clang-format
50
47
51
48
clang_static_analyzer :
@@ -57,25 +54,25 @@ jobs:
57
54
- name : Set up ruby
58
55
uses : ruby/setup-ruby@v1
59
56
with :
60
- ruby-version : 3.3
57
+ ruby-version : 3.4
61
58
- name : Install dependencies
62
59
run : |
63
60
sudo apt-get update -y
64
- sudo apt-get install -y libssl-dev cmake curl wget gnupg2
61
+ sudo apt-get install -y libssl-dev cmake curl wget gnupg2 libcurl4-openssl-dev libprotobuf-dev libgrpc-dev gdb
65
62
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
66
- sudo bash -c "echo 'deb https://apt.llvm.org/noble/ llvm-toolchain-noble-18 main' >> /etc/apt/sources.list"
63
+ sudo bash -c "echo 'deb https://apt.llvm.org/noble/ llvm-toolchain-noble main' >> /etc/apt/sources.list"
67
64
sudo apt-get update -y
68
- sudo apt-get install -y clang-18 clang-tools-18
65
+ sudo apt-get install -y clang clang-tools
69
66
-
uses :
hendrikmuhs/[email protected]
70
67
with :
71
68
max-size : 2G
72
69
key : ${{ github.job }}
73
70
- name : Run scan build
74
71
run : ./bin/check-clang-static-analyzer
75
72
env :
76
- CB_CC : /usr/bin/clang-18
77
- CB_CXX : /usr/bin/clang++-18
78
- CB_SCAN_BUILD : /usr/bin/scan-build-18
73
+ CB_CC : /usr/bin/clang-21
74
+ CB_CXX : /usr/bin/clang++-21
75
+ CB_SCAN_BUILD : /usr/bin/scan-build-21
79
76
- name : Upload scan-build report
80
77
if : ${{ failure() }}
81
78
uses : actions/upload-artifact@v4
0 commit comments