diff --git a/.ci/lint_cpp.sh b/.ci/lint_cpp.sh index 8a1ec15e2..8b7bf9c72 100755 --- a/.ci/lint_cpp.sh +++ b/.ci/lint_cpp.sh @@ -13,7 +13,7 @@ fi # Check formatting using format.sh echo "Checking your code using clang-format/cmake-format..." -diff="$(./format.sh --diff --cmake --print-version --branch origin/master)" +diff="$(./format.sh --diff --cmake --shell --print-version --branch origin/master)" err=$? sep=" diff --git a/.github/workflows/desktop-lint.yml b/.github/workflows/desktop-lint.yml index b1201ad97..e54bdb087 100644 --- a/.github/workflows/desktop-lint.yml +++ b/.github/workflows/desktop-lint.yml @@ -32,7 +32,7 @@ jobs: shell: bash run: | sudo apt-get update - sudo apt-get install -y --no-install-recommends clang-format cmake-format + sudo apt-get install -y --no-install-recommends clang-format cmake-format shellcheck - name: Check code formatting shell: bash