From ea503c547ff321a9329b10000f64bfce5e0e74e9 Mon Sep 17 00:00:00 2001 From: "Rule Timothy (CC/EMT2)" Date: Fri, 1 Dec 2023 12:57:16 +0100 Subject: [PATCH] Switch to super-linter v5. Signed-off-by: Rule Timothy (CC/EMT2) --- .github/workflows/super_linter.yaml | 3 +-- Makefile | 35 +++-------------------------- 2 files changed, 4 insertions(+), 34 deletions(-) diff --git a/.github/workflows/super_linter.yaml b/.github/workflows/super_linter.yaml index a2ccabd..e5076c4 100644 --- a/.github/workflows/super_linter.yaml +++ b/.github/workflows/super_linter.yaml @@ -21,7 +21,7 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - name: Super-Linter - uses: github/super-linter/slim@v4 + uses: github/super-linter/slim@v5 env: VALIDATE_ALL_CODEBASE: true DEFAULT_BRANCH: main @@ -29,5 +29,4 @@ jobs: FILTER_REGEX_EXCLUDE: (dse/clib/fmi/fmi2/headers/.*|dse/clib/fmi/fmi3/headers/.*) VALIDATE_CPP: true VALIDATE_DOCKERFILE: true - # VALIDATE_MARKDOWN: true VALIDATE_YAML: true diff --git a/Makefile b/Makefile index 07869ed..4b35fb3 100644 --- a/Makefile +++ b/Makefile @@ -126,38 +126,9 @@ super-linter: --env DEFAULT_BRANCH=main \ --env IGNORE_GITIGNORED_FILES=true \ --env FILTER_REGEX_EXCLUDE="(dse/clib/fmi/fmi2/headers/.*|dse/clib/fmi/fmi3/headers/.*)" \ - --env VALIDATE_ANSIBLE=false \ - --env VALIDATE_ARM=false \ - --env VALIDATE_BASH=false \ - --env VALIDATE_BASH_EXEC=false \ - --env VALIDATE_CLANG_FORMAT=false \ - --env XXX_VALIDATE_CPP=false \ - --env VALIDATE_CSHARP=false \ - --env VALIDATE_DOCKERFILE_HADOLINT=false \ - --env VALIDATE_GO=false \ - --env VALIDATE_GITHUB_ACTIONS=false \ - --env VALIDATE_GITLEAKS=false \ - --env VALIDATE_GOOGLE_JAVA_FORMAT=false \ - --env VALIDATE_GROOVY=false \ - --env VALIDATE_HTML=false \ - --env VALIDATE_JAVA=false \ - --env VALIDATE_JAVASCRIPT_ES=false \ - --env VALIDATE_JAVASCRIPT_STANDARD=false \ - --env VALIDATE_JSCPD=false \ - --env VALIDATE_LUA=false \ - --env VALIDATE_MARKDOWN=false \ - --env VALIDATE_PYTHON=false \ - --env VALIDATE_PYTHON_BLACK=false \ - --env VALIDATE_PYTHON_FLAKE8=false \ - --env VALIDATE_PYTHON_ISORT=false \ - --env VALIDATE_PYTHON_MYPY=false \ - --env VALIDATE_PYTHON_PYLINT=false \ - --env VALIDATE_RUST_2015=false \ - --env VALIDATE_RUST_2018=false \ - --env VALIDATE_RUST_CLIPPY=false \ - --env VALIDATE_YAML=false \ - github/super-linter:slim-v4 - + --env VALIDATE_CPP=true \ + --env VALIDATE_YAML=true \ + github/super-linter:slim-v5 .PHONY: docker build test update clean cleanall oss super-linter \ do-build do-test do-update do-clean do-cleanall