dependabot[bot]
af13399e67
deps(docker): bump dart from 3.4.4-sdk to 3.5.0-sdk ( #6006 )
...
Bumps dart from 3.4.4-sdk to 3.5.0-sdk.
---
updated-dependencies:
- dependency-name: dart
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-14 07:13:04 +00:00
dependabot[bot]
fa610e06d3
deps(docker): bump yoheimuta/protolint from 0.50.3 to 0.50.5 ( #6010 )
...
Bumps yoheimuta/protolint from 0.50.3 to 0.50.5.
---
updated-dependencies:
- dependency-name: yoheimuta/protolint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 17:34:38 +00:00
dependabot[bot]
a0d551a95c
deps(docker): bump hashicorp/terraform from 1.9.2 to 1.9.4 ( #6007 )
...
Bumps hashicorp/terraform from 1.9.2 to 1.9.4.
---
updated-dependencies:
- dependency-name: hashicorp/terraform
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 17:34:10 +00:00
dependabot[bot]
82a93ec7c4
deps(npm): bump eslint-plugin-prettier in /dependencies ( #5909 )
...
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier ) from 5.1.3 to 5.2.1.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v5.1.3...v5.2.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 16:10:57 +00:00
dependabot[bot]
f67156f248
ci(github-actions): bump actions/upload-artifact from 4.3.4 to 4.3.6 ( #6004 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.3.4 to 4.3.6.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.4...v4.3.6 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 15:33:05 +00:00
dependabot[bot]
cb64af2f56
deps(npm): bump @react-native/eslint-config in /dependencies ( #5972 )
...
Bumps [@react-native/eslint-config](https://github.com/facebook/react-native/tree/HEAD/packages/eslint-config-react-native ) from 0.74.85 to 0.74.87.
- [Release notes](https://github.com/facebook/react-native/releases )
- [Changelog](https://github.com/facebook/react-native/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react-native/commits/HEAD/packages/eslint-config-react-native )
---
updated-dependencies:
- dependency-name: "@react-native/eslint-config"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:57:40 +00:00
dependabot[bot]
1fa0e57975
deps(npm): bump react-router-dom from 6.25.0 to 6.26.0 in /dependencies ( #5973 )
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.25.0 to 6.26.0.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.26.0/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:57:27 +00:00
dependabot[bot]
bbebf2678f
deps(npm): bump textlint-rule-terminology in /dependencies ( #5976 )
...
Bumps [textlint-rule-terminology](https://github.com/sapegin/textlint-rule-terminology ) from 5.1.8 to 5.2.6.
- [Release notes](https://github.com/sapegin/textlint-rule-terminology/releases )
- [Commits](https://github.com/sapegin/textlint-rule-terminology/compare/v5.1.8...v5.2.6 )
---
updated-dependencies:
- dependency-name: textlint-rule-terminology
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:57:13 +00:00
dependabot[bot]
d993d82c79
deps(python): bump cfn-lint from 1.6.1 to 1.9.7 in /dependencies/python ( #5996 )
...
Bumps [cfn-lint](https://github.com/aws-cloudformation/cfn-lint ) from 1.6.1 to 1.9.7.
- [Release notes](https://github.com/aws-cloudformation/cfn-lint/releases )
- [Changelog](https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws-cloudformation/cfn-lint/compare/v1.6.1...v1.9.7 )
---
updated-dependencies:
- dependency-name: cfn-lint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:56:57 +00:00
dependabot[bot]
bfedf0d334
deps(python): bump checkov in /dependencies/python ( #5997 )
...
Bumps [checkov](https://github.com/bridgecrewio/checkov ) from 3.2.190 to 3.2.220.
- [Release notes](https://github.com/bridgecrewio/checkov/releases )
- [Changelog](https://github.com/bridgecrewio/checkov/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bridgecrewio/checkov/compare/3.2.190...3.2.220 )
---
updated-dependencies:
- dependency-name: checkov
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:56:27 +00:00
dependabot[bot]
3fdcf5c085
deps(python): bump ruff from 0.5.2 to 0.5.7 in /dependencies/python ( #5998 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.5.2 to 0.5.7.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.5.2...0.5.7 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:56:08 +00:00
dependabot[bot]
9db1d1695b
deps(npm): bump eslint-plugin-jest in /dependencies ( #6000 )
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 28.6.0 to 28.8.0.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v28.6.0...v28.8.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:55:34 +00:00
dependabot[bot]
f106ed26b3
deps(npm): bump textlint from 14.0.4 to 14.0.5 in /dependencies ( #6002 )
...
Bumps [textlint](https://github.com/textlint/textlint ) from 14.0.4 to 14.0.5.
- [Release notes](https://github.com/textlint/textlint/releases )
- [Commits](https://github.com/textlint/textlint/compare/v14.0.4...v14.0.5 )
---
updated-dependencies:
- dependency-name: textlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:54:43 +00:00
dependabot[bot]
c99307e125
deps(docker): bump python from 3.12.4-alpine3.20 to 3.12.5-alpine3.20 ( #6005 )
...
Bumps python from 3.12.4-alpine3.20 to 3.12.5-alpine3.20.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:52:44 +00:00
dependabot[bot]
4131878084
deps(docker): bump alpine/terragrunt from 1.9.2 to 1.9.4 ( #6008 )
...
Bumps alpine/terragrunt from 1.9.2 to 1.9.4.
---
updated-dependencies:
- dependency-name: alpine/terragrunt
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:52:10 +00:00
dependabot[bot]
1d0de4792c
deps(docker): bump golang from 1.22.5-alpine to 1.22.6-alpine ( #6009 )
...
Bumps golang from 1.22.5-alpine to 1.22.6-alpine.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:51:54 +00:00
dependabot[bot]
97390c90d4
ci(dev-docker): bump node in /dev-dependencies ( #6011 )
...
Bumps node from 22.4.1-bookworm to 22.6.0-bookworm.
---
updated-dependencies:
- dependency-name: node
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:51:27 +00:00
dependabot[bot]
55970c9681
ci(dev-npm): bump @commitlint/cli in /dev-dependencies ( #6012 )
...
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli ) from 19.3.0 to 19.4.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.4.0/@commitlint/cli )
---
updated-dependencies:
- dependency-name: "@commitlint/cli"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:50:55 +00:00
dependabot[bot]
24a1182e62
deps(docker): bump yannh/kubeconform from v0.6.6 to v0.6.7 ( #5969 )
...
Bumps [yannh/kubeconform](https://github.com/yannh/kubeconform ) from v0.6.6 to v0.6.7.
- [Release notes](https://github.com/yannh/kubeconform/releases )
- [Changelog](https://github.com/yannh/kubeconform/blob/master/.goreleaser.yml )
- [Commits](https://github.com/yannh/kubeconform/compare/v0.6.6...v0.6.7 )
---
updated-dependencies:
- dependency-name: yannh/kubeconform
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:48:38 +00:00
dependabot[bot]
ee9bd34f56
deps(docker): bump clj-kondo/clj-kondo ( #5968 )
...
Bumps [clj-kondo/clj-kondo](https://github.com/clj-kondo/clj-kondo ) from 2024.05.24-alpine to 2024.08.01-alpine.
- [Release notes](https://github.com/clj-kondo/clj-kondo/releases )
- [Changelog](https://github.com/clj-kondo/clj-kondo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clj-kondo/clj-kondo/compare/v2024.05.24...v2024.08.01 )
---
updated-dependencies:
- dependency-name: clj-kondo/clj-kondo
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:47:43 +00:00
dependabot[bot]
8b5179360c
deps(python): bump flake8 from 7.1.0 to 7.1.1 in /dependencies/python ( #5967 )
...
Bumps [flake8](https://github.com/pycqa/flake8 ) from 7.1.0 to 7.1.1.
- [Commits](https://github.com/pycqa/flake8/compare/7.1.0...7.1.1 )
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:47:12 +00:00
dependabot[bot]
b6da527b29
deps(python): bump mypy from 1.10.1 to 1.11.1 in /dependencies/python ( #5965 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.10.1 to 1.11.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.10.1...v1.11.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:46:57 +00:00
dependabot[bot]
72858ed8f4
deps(python): bump black from 24.4.2 to 24.8.0 in /dependencies/python ( #5964 )
...
Bumps [black](https://github.com/psf/black ) from 24.4.2 to 24.8.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/24.4.2...24.8.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:45:22 +00:00
dependabot[bot]
b181328251
deps(java): bump com.google.googlejavaformat:google-java-format ( #5961 )
...
Bumps [com.google.googlejavaformat:google-java-format](https://github.com/google/google-java-format ) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/google/google-java-format/releases )
- [Commits](https://github.com/google/google-java-format/compare/v1.22.0...v1.23.0 )
---
updated-dependencies:
- dependency-name: com.google.googlejavaformat:google-java-format
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:44:18 +00:00
dependabot[bot]
1e76c51f6d
deps(npm): bump eslint-plugin-react in /dependencies ( #5912 )
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.34.4 to 7.35.0.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.4...v7.35.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:26:51 +00:00
dependabot[bot]
23f7aadc2e
deps(npm): bump typescript from 5.5.3 to 5.5.4 in /dependencies ( #5934 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.5.3 to 5.5.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.5.3...v5.5.4 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:26:26 +00:00
dependabot[bot]
8c04245d65
deps(npm): bump @babel/eslint-parser in /dependencies ( #5938 )
...
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser ) from 7.24.8 to 7.25.1.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.25.1/eslint/babel-eslint-parser )
---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:26:09 +00:00
dependabot[bot]
f57c1abdaa
deps(docker): bump kustomize/kustomize from v5.4.2 to v5.4.3 ( #5915 )
...
Bumps kustomize/kustomize from v5.4.2 to v5.4.3.
---
updated-dependencies:
- dependency-name: kustomize/kustomize
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:23:33 +00:00
dependabot[bot]
04ee4f3ae5
deps(python): bump pylint from 3.2.5 to 3.2.6 in /dependencies/python ( #5920 )
...
Bumps [pylint](https://github.com/pylint-dev/pylint ) from 3.2.5 to 3.2.6.
- [Release notes](https://github.com/pylint-dev/pylint/releases )
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.2.5...v3.2.6 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:23:02 +00:00
dependabot[bot]
0d6fd13613
ci(github-actions): bump docker/login-action from 3.2.0 to 3.3.0 ( #5914 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v3.2.0...v3.3.0 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 14:22:09 +00:00
Marco Ferrari
4854e774f3
chore: disable dotnet telemetry ( #6016 )
2024-08-13 16:12:32 +02:00
Marco Ferrari
1d104357a5
ci: fetch the whole repo when setting build meta ( #6017 )
...
We need the whole repository history to get information about specific
commits to set some build metadata, such as BUILD_VERSION.
2024-08-13 15:36:55 +02:00
Marco Ferrari
82094c879b
build: fix build metadata ( #6015 )
...
- Don't set BUILD_VERSION in CI/CD workflows otherwise the
build-metadata script will always fall back to those values instead of
computing new ones.
- When calculating BUILD_REVISION, check if BUILD_REVISION is set before
falling back.
2024-08-13 14:26:26 +02:00
Marco Ferrari
bde3b9368e
build: set build_version dynamically ( #6013 )
...
Set BUILD_VERSION to the content of the version descriptor (version.txt)
if it changed in the last commit, assuming that the last commit was a
release preparation commit that updated the version descriptor.
Close #4928
2024-08-13 12:10:31 +02:00
Marco Ferrari
0c6e9a5778
chore: remove test leftovers before running fix test ( #5995 )
...
- Remove test leftovers before initializing the workspace
against which fix mode tests run. This prevents ownership issues.
- Pass container image build metadata as outputs of the container image
build job so we can include the validate-container-image-labels target
as other test target when we build the test matrix.
- Manually include the 'test' target when building the test suite matrix
so we run it as part of the test suite to ensure that tests don't
pollute each other's working directory.
Fix #5994
2024-08-12 18:01:40 +02:00
Marco Ferrari
91dc6d7234
fix: add missing fix mode options and test cases ( #5987 )
...
- Add missing fix mode options for: CLANG_FORMAT, ENV,
GOOGLE_JAVA_FORMAT, NATURAL_LANGUAGE, PYTHON_ISORT, RUST_CLIPPY.
- Refactor linter tests to make them shorter because there's no need to
have big test files.
- Refactor 'bad' linter tests for linters that support fix mode so they
contain only automatically fixable issues. This is needed to avoid
adding another set of 'bad' linter tests for fix mode.
- Provide configuration files for linters that support fix mode and for
which the default configuration is not suitable to enable fix mode:
ansible-lint, ESLint, golangci-lint.
- Add a test case for linter commands options for linters that support
fix mode, to ensure that fix mode and check-only mode options have
been defined.
- Refactor the fix mode test to check if linters actually applied
modifications to files.
- Update documentation about adding test cases for linters that support
fix mode.
- Don't exit with a fatal error if VALIDATE_xxx is false when testing
fix mode because not all linters support fix mode. To enable this, set
the new FIX_MODE_TEST_CASE_RUN variable to true.
2024-08-12 12:31:38 +02:00
Niel Markwick
ea16cd9a1b
fix: add RENOVATE_X_IGNORE_RE2 env var to remove warning ( #5986 )
...
Renovate has an optional requirement for the RE2 package, and will warn if
it is not present.
Setting env variable RENOVATE_X_IGNORE_RE2=true will hide this warning.
(see https://github.com/renovatebot/renovate/pull/21391 )
2024-08-12 11:14:51 +02:00
Marco Ferrari
40410c2d60
fix: use cargo clippy instead of cargo-clippy ( #5988 )
...
The cargo-clippy command has been depreacted since Cargo
v1.78.0. This is needed to unblock the implementation of fix mode.
2024-08-11 23:18:33 +02:00
Marco Ferrari
d0219e326d
chore: remove h1 from the pr template ( #5985 )
...
Remove the H1 heading from the PR template because GitHub automatically
add the commit description before emitting the PR template, so
contributors don't have to manually cut-paste the commit description
after the H1 heading.
2024-08-08 09:35:36 +02:00
Marco Ferrari
30fc3ae199
chore: mount the whole lib dir in the devcontainer ( #5984 )
...
Bind-mount the whole lib directory as /action/lib in the
devcontainer so we don't have to manually add lib
subdirectories to the devcontainer configuration as we create
them.
2024-08-08 09:16:03 +02:00
Marco Ferrari
6fdc091361
feat: local fix mode ( #5978 )
...
Certain linters and formatters support fixing linting and formatting
issues (fix mode). Before this change, Super-linter runs linters and
formatters in a mode that doesn't modify the source code in any way
(check only mode).
With this change, Super-linter supports running linters and formatters
in fix mode if explicitly requested by the configuration. If the
configuration includes a variable named FIX_<language_name>,
Super-linters modifies the command to run the linter or formatter for
<language_name> to enable fix mode.
The modifications to the linter or formatter command that Super-linter
applies depend on what is the default for a particular linter: it either
removes or adds options to the command to run the linter or formatter.
2024-08-07 15:36:16 +02:00
Marco Ferrari
633b8af60d
fix: add missing rspec dependencies ( #5982 )
...
rubocop-rspec >= 3.0.0 doesn't install some gems by default, so we
install them manually.
Fix #5980
2024-08-06 22:29:45 +02:00
Marco Ferrari
10e132a8f7
chore: add tests for linter rules path corner case ( #5981 )
...
Add test cases for LINTER_RULES_PATH corner cases: . and /
2024-08-06 22:02:39 +02:00
rindeal
1ec0205b42
docs: fix typos in README ( #5959 )
2024-08-06 15:03:25 +00:00
Marco Ferrari
0dbe144336
feat: support ignore_gitignored_files with jscpd ( #5958 )
...
Add the --gitignore option to LINTER_COMMANDS_ARRAY_JSCPD when
IGNORE_GITIGNORED_FILES=true. Users can also set the gitignore options
in the Jscpd configuration file, but with this change we make Jscpd
automatically respecting that.
2024-08-05 10:15:40 +02:00
Marco Ferrari
16dbf17306
chore: add linter commands tests ( #5957 )
2024-08-05 09:55:58 +02:00
Marco Ferrari
14a6ee6da6
chore: move rules vars to a dedicated file ( #5946 )
2024-08-05 08:56:56 +02:00
Marco Ferrari
c46346c774
chore: remove clippy script, run clippy directly ( #5953 )
...
Remove clippy.sh script and run cargo-clippy directly. The script was
needed because when we introduced cargo-clippy, Super-linter didn't have
a way to customize the working directory when running linters and
formatters. Now, we can use GNU Parallel to handle that case.
This will unblock the work to do to implement #4001 (pass custom options
to cargo-clippy).
2024-08-02 13:24:43 +02:00
Marco Ferrari
928972feeb
fix: adjust previous commit id on merge commits ( #5950 )
...
- When a commit is a merge commit, adjust the revision so that it
selects the correct parent.
- Add relevant tests.
- Extract the logic to initialize a Git repository for tests in a
dedicated function.
Fix #5941
2024-08-02 10:37:27 +02:00
Marco Ferrari
6d40b40f8f
fix: define private output dir before using it ( #5949 )
...
Define output directory paths that don't depend on GITHUB_WORKSPACE
before cleanup() might use them.
2024-08-01 18:40:30 +02:00