Skip to content

🧹 luks: move initramfs gen into gucc #113

🧹 luks: move initramfs gen into gucc

🧹 luks: move initramfs gen into gucc #113

Triggered via push June 26, 2024 20:27
Status Success
Total duration 1m 54s
Artifacts

checks.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
/gucc/src/luks.cpp:13:17 [bugprone-easily-swappable-parameters: gucc/src/luks.cpp#L13
3 adjacent parameters of 'luks1_open' of similar type ('std::string_view') are easily swapped by mistake
/gucc/src/luks.cpp:18:19 [bugprone-easily-swappable-parameters: gucc/src/luks.cpp#L18
3 adjacent parameters of 'luks1_format' of similar type ('std::string_view') are easily swapped by mistake
/gucc/src/luks.cpp:23:20 [bugprone-easily-swappable-parameters: gucc/src/luks.cpp#L23
3 adjacent parameters of 'luks1_add_key' of similar type ('std::string_view') are easily swapped by mistake
/gucc/src/luks.cpp:29:26 [bugprone-easily-swappable-parameters: gucc/src/luks.cpp#L29
2 adjacent parameters of 'luks1_setup_keyfile' of similar type ('std::string_view') are easily swapped by mistake
/src/utils.cpp:98:6 [modernize-use-trailing-return-type: src/utils.cpp#L98
use a trailing return type for this function
/src/utils.cpp:110:6 [modernize-use-trailing-return-type: src/utils.cpp#L110
use a trailing return type for this function
/src/utils.cpp:123:6 [bugprone-exception-escape: src/utils.cpp#L123
an exception may be thrown in function 'arch_chroot' which should not throw exceptions
/src/utils.cpp:130:44 [readability-implicit-bool-conversion: src/utils.cpp#L130
implicit conversion 'int' -> bool
/src/utils.cpp:163:29 [cppcoreguidelines-avoid-magic-numbers: src/utils.cpp#L163
1048576 is a magic number; consider replacing it with a named constant
/src/utils.cpp:170:28 [cppcoreguidelines-avoid-c-arrays: src/utils.cpp#L170
do not declare C-style arrays, use std::array<> instead
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/.