ci: Add help options; add checks for the boolean environment options

This commit is contained in:
Cosmin Truta
2024-01-22 23:45:23 +02:00
parent 4edbb4da81
commit 3285bf0d4c
6 changed files with 77 additions and 13 deletions

View File

@@ -1,3 +1,7 @@
# Disable the "variable appears unused" warning caused by the use of getopts
# with an obligatory (but unused) variable name in the main function.
disable=SC2034
# Disable all the "quote to prevent globbing or word splitting" advice.
# We need word splitting for well-known variables like MAKEFLAGS and CFLAGS.
disable=SC2086,SC2206