mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 14:10:56 -05:00
cd8a239bd5
* Bump textlint-rule-terminology from 4.0.0 to 4.0.1 in /dependencies Bumps [textlint-rule-terminology](https://github.com/sapegin/textlint-rule-terminology) from 4.0.0 to 4.0.1. - [Release notes](https://github.com/sapegin/textlint-rule-terminology/releases) - [Commits](https://github.com/sapegin/textlint-rule-terminology/compare/v4.0.0...v4.0.1) --- updated-dependencies: - dependency-name: textlint-rule-terminology dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Fix linting errors --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marco Ferrari <ferrari.marco@gmail.com>
34 lines
1 KiB
Markdown
34 lines
1 KiB
Markdown
# GitHub Super-Linter Slim Image Action
|
|
|
|
The **GitHub Super-Linter** maintains `two` major images:
|
|
|
|
- `super-linter/super-linter:v5`
|
|
- `super-linter/super-linter:slim-v5`
|
|
|
|
In order to help users pull this image more naturally, the `action.yml` in this directory can help users pull the `slim image`.
|
|
|
|
## Slim Image
|
|
|
|
The slim `super-linter/super-linter:slim-v5` comes with all supported linters but removes the following:
|
|
|
|
- `rust` linters
|
|
- `dotenv` linters
|
|
- `armttk` linters
|
|
- `pwsh` linters
|
|
- `c#` linters
|
|
|
|
By removing these linters, we were able to bring the image size down by `2gb` and drastically speed up the build and download time.
|
|
The behavior will be the same for non-supported languages, and will skip languages at runtime.
|
|
Example usage:
|
|
|
|
```yml
|
|
################################
|
|
# Run Linter against code base #
|
|
################################
|
|
- name: Lint Code Base
|
|
uses: super-linter/super-linter/slim@v5
|
|
env:
|
|
VALIDATE_ALL_CODEBASE: false
|
|
DEFAULT_BRANCH: main
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
```
|