Skip to content

Commit

Permalink
compiled megalinter using go compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
fchastanet committed Aug 25, 2024
1 parent fad213d commit d3e2dd3
Show file tree
Hide file tree
Showing 16 changed files with 1,635 additions and 1,846 deletions.
2 changes: 1 addition & 1 deletion .framework-config
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ FRAMEWORK_VENDOR_BIN_DIR="${FRAMEWORK_VENDOR_BIN_DIR:-${FRAMEWORK_ROOT_DIR}/vend
if [[ ! -v COMPILE_PARAMETERS ]]; then
# compile parameters
# srcFile : file that needs to be compiled
# templateDir : directory from which bash-tpl templates will be searched
# templateDir : directory from which templates will be searched
# binDir : fallback bin directory in case BIN_FILE has not been provided
# rootDir : directory used to compute src file relative path
# srcDirs : additional directories where to find the functions
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,10 @@ jobs:
id: ml
if: ${{ !cancelled() }}
# You can override MegaLinter flavor used to have faster performances
# More info at https://megalinter.io/flavors/
uses: oxsecurity/megalinter/flavors/terraform@v7
# More info at https://megalinter.io/latest/flavors/
uses: oxsecurity/megalinter/flavors/terraform@v8
# All available variables are described in documentation
# https://megalinter.io/configuration/
# https://megalinter.io/latest/config-file/
env:
# Validates all source when push on master,
# else just the git diff with master.
Expand Down
10 changes: 3 additions & 7 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,7 @@
language: script
entry: bin/megalinter
args:
[
--image,
"oxsecurity/megalinter-terraform:v7.11.1",
--check-megalinter-version,
]
[--image, "oxsecurity/megalinter-terraform:v8", --check-megalinter-version]
pass_filenames: false
always_run: true
stages: [pre-commit, manual]
Expand All @@ -114,7 +110,7 @@
args:
[
--image,
"oxsecurity/megalinter-terraform:v7.11.1",
"oxsecurity/megalinter-terraform:v8",
--config-file,
".mega-linter-light.yml",
--fix,
Expand All @@ -132,7 +128,7 @@
args:
[
--image,
"oxsecurity/megalinter-terraform:v7.11.1",
"oxsecurity/megalinter-terraform:v8",
--config-file,
".mega-linter-githubAction.yml",
--fix,
Expand Down
2 changes: 1 addition & 1 deletion .v8rrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ customCatalog:
- name: megalinter
description: megalinter
fileMatch: [".mega-linter*.yml"]
location: https://raw.githubusercontent.com/megalinter/megalinter/main/megalinter/descriptors/schemas/megalinter-configuration.jsonschema.json
location: https://raw.githubusercontent.com/oxsecurity/megalinter/main/megalinter/descriptors/schemas/megalinter-configuration.jsonschema.json
- name: pre-commit
description: pre-commit
fileMatch: [".pre-commit-config*.yml", ".pre-commit-config*.yaml"]
Expand Down
Loading

0 comments on commit d3e2dd3

Please sign in to comment.