File tree 4 files changed +26
-15
lines changed
4 files changed +26
-15
lines changed Original file line number Diff line number Diff line change 1
- name : clang-format-review
1
+ name : check clang-format
2
2
3
3
# You can be more specific, but it currently only works on pull requests
4
4
on : [pull_request]
5
5
6
6
jobs :
7
7
clang-format :
8
- runs-on : ubuntu-20 .04
8
+ runs-on : ubuntu-24 .04
9
9
steps :
10
- - uses : actions/checkout@v2
11
- - name : Install clang-tidy
12
- run : |
13
- sudo apt-get update
14
- sudo apt-get install -y clang-tidy
10
+ - uses : actions/checkout@v4
15
11
- name : Analyze
16
12
run : |
17
13
clang-format --dry-run --Werror -style=file $(find ./ -name '*.cc' -print)
Original file line number Diff line number Diff line change
1
+ name : check clang-tidy
2
+
3
+ # You can be more specific, but it currently only works on pull requests
4
+ on : [pull_request]
5
+
6
+ jobs :
7
+ clang-tidy :
8
+ runs-on : ubuntu-24.04
9
+ steps :
10
+ - uses : actions/checkout@v4
11
+ - name : configure
12
+ run : |
13
+ mkdir build
14
+ cd build
15
+ cmake ..
16
+ - name : build the library
17
+ run : cmake --build build
18
+ - name : build examples
19
+ run :
20
+ cmake --build build --target examples
Original file line number Diff line number Diff line change @@ -17,17 +17,12 @@ jobs:
17
17
os : [ubuntu-latest, windows-latest, macos-latest]
18
18
19
19
steps :
20
- - uses : actions/checkout@v1
21
- - name : Install clang-tidy
22
- run : |
23
- sudo apt-get update
24
- sudo apt-get install -y clang-tidy
25
- if : matrix.os == 'ubuntu-latest'
20
+ - uses : actions/checkout@v4
26
21
- name : configure
27
22
run : |
28
23
mkdir build
29
24
cd build
30
- cmake ..
25
+ cmake .. -DREACTOR_CPP_CLANG_TIDY=Off
31
26
- name : build the library
32
27
run : cmake --build build
33
28
- name : build examples
Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ public:
355
355
* class:`ImmutableValuePtr`, the value is deleted.
356
356
* @endrst
357
357
*/
358
- auto operator =(ImmutableValuePtr&& ptr) -> ImmutableValuePtr& = default ;
358
+ auto operator =(ImmutableValuePtr&& ptr) noexcept -> ImmutableValuePtr& = default ;
359
359
360
360
/* *
361
361
* Retrieve a raw pointer to the managed value.
You can’t perform that action at this time.
0 commit comments