Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ max_line_length = 120
indent_size = 4
max_line_length = 120

[{.mise/tasks/build-release.sh,.github/workflows/multi-version-test.yml}]
[{.mise/tasks/build-release.sh,.mise/tasks/lint/super-linter.sh,.github/workflows/multi-version-test.yml}]
max_line_length = 200
6 changes: 6 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,11 @@
depNameTemplate: "mise",
matchStrings: ["jdx/mise-action.*\\n\\s*with:\\s*\\n\\s*version: [\"']?(?<currentValue>v[.\\d]+)[\"']?\\s*\\n\\s*sha256: [\"']?(?<currentDigest>\\w+)[\"']?"],
},
{
customType: "regex",
description: "update super-linter in mise tasks",
fileMatch: ["^\\.mise/tasks/.+\\.sh$"],
matchStrings: ['# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\s+\\S+_VERSION="(?<currentValue>v\\d+\\.\\d+\\.\\d+)@(?<currentDigest>sha256:[a-f0-9]+)"'],
},
],
}
2 changes: 2 additions & 0 deletions .github/super-linter.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FILTER_REGEX_EXCLUDE=mvnw|src/main/generated/.*|docs/themes/.*|keystore.pkcs12|.*.java|prometheus-metrics-exporter-opentelemetry-shaded/pom.xml|CODE_OF_CONDUCT.md
IGNORE_GITIGNORED_FILES=true
JAVA_FILE_NAME=google_checks.xml
LOG_LEVEL=ERROR
# conflicts with prettier
VALIDATE_BIOME_FORMAT=false
# conflicts with prettier
Expand Down Expand Up @@ -38,4 +39,5 @@ FIX_MARKDOWN=true
FIX_MARKDOWN_PRETTIER=true
FIX_PYTHON_BLACK=true
FIX_SHELL_SHFMT=true
FIX_SPELL_CODESPELL=true
FIX_YAML_PRETTIER=true
7 changes: 5 additions & 2 deletions .mise/tasks/lint/super-linter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@

set -euo pipefail

docker pull ghcr.io/super-linter/super-linter:latest
# renovate: datasource=docker depName=ghcr.io/super-linter/super-linter
SUPER_LINTER_VERSION="v8.3.2@sha256:e9d1895a1bdc1f9d9df41f688b27aa891743f23f9fae0f22a3e25eeda8f102db"

docker pull --platform linux/amd64 "ghcr.io/super-linter/super-linter:${SUPER_LINTER_VERSION}"

docker run --rm \
-e RUN_LOCAL=true \
-e DEFAULT_BRANCH=main \
--env-file ".github/super-linter.env" \
-v "$(pwd)":/tmp/lint \
ghcr.io/super-linter/super-linter:latest
"ghcr.io/super-linter/super-linter:${SUPER_LINTER_VERSION}"