👷 user: sync groups and sudoers group with our installer #120
checks.yml
on: push
cpp-linter
1m 35s
Check C++ style
16s
Annotations
10 errors and 2 warnings
/src/utils.cpp:99:6 [modernize-use-trailing-return-type:
src/utils.cpp#L99
use a trailing return type for this function
|
/src/utils.cpp:111:6 [modernize-use-trailing-return-type:
src/utils.cpp#L111
use a trailing return type for this function
|
/src/utils.cpp:124:6 [bugprone-exception-escape:
src/utils.cpp#L124
an exception may be thrown in function 'arch_chroot' which should not throw exceptions
|
/src/utils.cpp:131:44 [readability-implicit-bool-conversion:
src/utils.cpp#L131
implicit conversion 'int' -> bool
|
/src/utils.cpp:164:29 [cppcoreguidelines-avoid-magic-numbers:
src/utils.cpp#L164
1048576 is a magic number; consider replacing it with a named constant
|
/src/utils.cpp:171:28 [cppcoreguidelines-avoid-c-arrays:
src/utils.cpp#L171
do not declare C-style arrays, use std::array<> instead
|
/src/utils.cpp:172:121 [cppcoreguidelines-pro-bounds-array-to-pointer-decay:
src/utils.cpp#L172
do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead
|
/src/utils.cpp:201:6 [bugprone-exception-escape:
src/utils.cpp#L201
an exception may be thrown in function 'dump_settings_to_log' which should not throw exceptions
|
/src/utils.cpp:213:6 [modernize-use-trailing-return-type:
src/utils.cpp#L213
use a trailing return type for this function
|
/src/utils.cpp:253:6 [bugprone-exception-escape:
src/utils.cpp#L253
an exception may be thrown in function 'umount_partitions' which should not throw exceptions
|
Check C++ style
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
cpp-linter
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|