mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 15:22:16 -05:00
Update all super-linter
v4
version references to v5
This commit is contained in:
parent
d301c72541
commit
47884a0e25
4 changed files with 14 additions and 14 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -90,9 +90,9 @@ jobs:
|
|||
with:
|
||||
src: ghcr.io/github/super-linter:${{ matrix.images.prefix }}latest
|
||||
dst: |
|
||||
github/super-linter:${{ matrix.images.prefix }}v4
|
||||
github/super-linter:${{ matrix.images.prefix }}v5
|
||||
github/super-linter:${{ matrix.images.prefix }}${{ env.RELEASE_VERSION }}
|
||||
ghcr.io/github/super-linter:${{ matrix.images.prefix }}v4
|
||||
ghcr.io/github/super-linter:${{ matrix.images.prefix }}v5
|
||||
ghcr.io/github/super-linter:${{ matrix.images.prefix }}${{ env.RELEASE_VERSION }}
|
||||
|
||||
- name: Checkout Code
|
||||
|
|
18
README.md
18
README.md
|
@ -182,7 +182,7 @@ jobs:
|
|||
# Run Linter against code base #
|
||||
################################
|
||||
- name: Lint Code Base
|
||||
uses: github/super-linter@v4
|
||||
uses: github/super-linter@v5
|
||||
env:
|
||||
VALIDATE_ALL_CODEBASE: false
|
||||
DEFAULT_BRANCH: master
|
||||
|
@ -216,12 +216,12 @@ After further investigation, we were able to see that a few linters were very di
|
|||
This allows users to choose which **Super-Linter** they want to run and potentially speed up their build time.
|
||||
The available images:
|
||||
|
||||
- `github/super-linter:v4`
|
||||
- `github/super-linter:slim-v4`
|
||||
- `github/super-linter:v5`
|
||||
- `github/super-linter:slim-v5`
|
||||
|
||||
#### Standard Image
|
||||
|
||||
The standard `github/super-linter:v4` comes with all supported linters.
|
||||
The standard `github/super-linter:v5` comes with all supported linters.
|
||||
Example usage:
|
||||
|
||||
```yml
|
||||
|
@ -229,7 +229,7 @@ Example usage:
|
|||
# Run Linter against code base #
|
||||
################################
|
||||
- name: Lint Code Base
|
||||
uses: github/super-linter@v4
|
||||
uses: github/super-linter@v5
|
||||
env:
|
||||
VALIDATE_ALL_CODEBASE: false
|
||||
DEFAULT_BRANCH: master
|
||||
|
@ -238,7 +238,7 @@ Example usage:
|
|||
|
||||
#### Slim Image
|
||||
|
||||
The slim `github/super-linter:slim-v4` comes with all supported linters but removes the following:
|
||||
The slim `github/super-linter:slim-v5` comes with all supported linters but removes the following:
|
||||
|
||||
- `rust` linters
|
||||
- `dotenv` linters
|
||||
|
@ -255,7 +255,7 @@ Example usage:
|
|||
# Run Linter against code base #
|
||||
################################
|
||||
- name: Lint Code Base
|
||||
uses: github/super-linter/slim@v4
|
||||
uses: github/super-linter/slim@v5
|
||||
env:
|
||||
VALIDATE_ALL_CODEBASE: false
|
||||
DEFAULT_BRANCH: master
|
||||
|
@ -487,7 +487,7 @@ jobs:
|
|||
# Run Linter against code base #
|
||||
################################
|
||||
- name: Lint Code Base
|
||||
uses: github/super-linter@v4
|
||||
uses: github/super-linter@v5
|
||||
env:
|
||||
VALIDATE_ALL_CODEBASE: false
|
||||
DEFAULT_BRANCH: master
|
||||
|
@ -560,7 +560,7 @@ Once found, it will load the certificate contents to a file, and to the trust st
|
|||
|
||||
```yml
|
||||
- name: Lint Code Base
|
||||
uses: github/super-linter@v4
|
||||
uses: github/super-linter@v5
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
SSL_CERT_SECRET: ${{ secrets.ROOT_CA }}
|
||||
|
|
|
@ -57,7 +57,7 @@ jobs:
|
|||
# Run Linter against code base #
|
||||
################################
|
||||
- name: Lint Code Base
|
||||
uses: github/super-linter@v4
|
||||
uses: github/super-linter@v5
|
||||
env:
|
||||
VALIDATE_ALL_CODEBASE: false
|
||||
# Change to 'master' if your main branch differs
|
||||
|
|
|
@ -57,7 +57,7 @@ This always runs the local docker based linting.
|
|||
docker run --rm \
|
||||
-e RUN_LOCAL=true \
|
||||
--env-file ".github/super-linter.env" \
|
||||
-v "$PWD":/tmp/lint github/super-linter:v4
|
||||
-v "$PWD":/tmp/lint github/super-linter:v5
|
||||
```
|
||||
|
||||
### scripts/test
|
||||
|
@ -91,7 +91,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- run: cat .github/super-linter.env >> "$GITHUB_ENV"
|
||||
- name: Lint Code Base
|
||||
uses: github/super-linter@v4
|
||||
uses: github/super-linter@v5
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
DEFAULT_BRANCH: develop
|
||||
|
|
Loading…
Reference in a new issue