Skip to content

Commit

Permalink
Switch to super-linter v5.
Browse files Browse the repository at this point in the history
Signed-off-by: Rule Timothy (CC/EMT2) <[email protected]>
  • Loading branch information
timrulebosch committed Dec 1, 2023
1 parent 51c9e30 commit ea503c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 34 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/super_linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ 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
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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
35 changes: 3 additions & 32 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ea503c5

Please sign in to comment.