From 077089c4e4f7fcdff55d316811482c920cb62c7f Mon Sep 17 00:00:00 2001 From: Mario Trangoni Date: Sun, 7 Feb 2021 11:20:20 +0100 Subject: Add linter references Signed-off-by: Mario Trangoni --- .github/workflows/linters.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.github') diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index c6a238fd2..6bad1fd15 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -7,6 +7,7 @@ on: branches: [ 3.6.x ] jobs: + # see https://github.com/koalaman/shellcheck shellcheck: runs-on: ubuntu-20.04 steps: @@ -22,6 +23,7 @@ jobs: run: | find . -name "*.sh" | xargs shellcheck -e SC1004,SC2010,SC2035,SC2086 + # see https://github.com/danmar/cppcheck cppcheck: runs-on: ubuntu-20.04 steps: @@ -45,6 +47,8 @@ jobs: CPPCHECK_EXCLUDES='-i ./nx-X11/extras/ -i nx-X11/programs/Xserver/GL/mesa* -i ./.pc -i ./nx-X11/.build-exports -i ./nx-X11/exports -i ./doc' echo "$(cppcheck --version):"; cppcheck $CPPCHECK_OPTS $CPPCHECK_EXCLUDES .; + + # see https://www.viva64.com/en/pvs-studio/ pvs: environment: pvs runs-on: ubuntu-20.04 -- cgit v1.2.3