mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-06 01:05:54 -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:
|
with:
|
||||||
src: ghcr.io/github/super-linter:${{ matrix.images.prefix }}latest
|
src: ghcr.io/github/super-linter:${{ matrix.images.prefix }}latest
|
||||||
dst: |
|
dst: |
|
||||||
github/super-linter:${{ matrix.images.prefix }}v4
|
github/super-linter:${{ matrix.images.prefix }}v5
|
||||||
github/super-linter:${{ matrix.images.prefix }}${{ env.RELEASE_VERSION }}
|
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 }}
|
ghcr.io/github/super-linter:${{ matrix.images.prefix }}${{ env.RELEASE_VERSION }}
|
||||||
|
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
|
|
18
README.md
18
README.md
|
@ -182,7 +182,7 @@ jobs:
|
||||||
# Run Linter against code base #
|
# Run Linter against code base #
|
||||||
################################
|
################################
|
||||||
- name: Lint Code Base
|
- name: Lint Code Base
|
||||||
uses: github/super-linter@v4
|
uses: github/super-linter@v5
|
||||||
env:
|
env:
|
||||||
VALIDATE_ALL_CODEBASE: false
|
VALIDATE_ALL_CODEBASE: false
|
||||||
DEFAULT_BRANCH: master
|
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.
|
This allows users to choose which **Super-Linter** they want to run and potentially speed up their build time.
|
||||||
The available images:
|
The available images:
|
||||||
|
|
||||||
- `github/super-linter:v4`
|
- `github/super-linter:v5`
|
||||||
- `github/super-linter:slim-v4`
|
- `github/super-linter:slim-v5`
|
||||||
|
|
||||||
#### Standard Image
|
#### 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:
|
Example usage:
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
|
@ -229,7 +229,7 @@ Example usage:
|
||||||
# Run Linter against code base #
|
# Run Linter against code base #
|
||||||
################################
|
################################
|
||||||
- name: Lint Code Base
|
- name: Lint Code Base
|
||||||
uses: github/super-linter@v4
|
uses: github/super-linter@v5
|
||||||
env:
|
env:
|
||||||
VALIDATE_ALL_CODEBASE: false
|
VALIDATE_ALL_CODEBASE: false
|
||||||
DEFAULT_BRANCH: master
|
DEFAULT_BRANCH: master
|
||||||
|
@ -238,7 +238,7 @@ Example usage:
|
||||||
|
|
||||||
#### Slim Image
|
#### 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
|
- `rust` linters
|
||||||
- `dotenv` linters
|
- `dotenv` linters
|
||||||
|
@ -255,7 +255,7 @@ Example usage:
|
||||||
# Run Linter against code base #
|
# Run Linter against code base #
|
||||||
################################
|
################################
|
||||||
- name: Lint Code Base
|
- name: Lint Code Base
|
||||||
uses: github/super-linter/slim@v4
|
uses: github/super-linter/slim@v5
|
||||||
env:
|
env:
|
||||||
VALIDATE_ALL_CODEBASE: false
|
VALIDATE_ALL_CODEBASE: false
|
||||||
DEFAULT_BRANCH: master
|
DEFAULT_BRANCH: master
|
||||||
|
@ -487,7 +487,7 @@ jobs:
|
||||||
# Run Linter against code base #
|
# Run Linter against code base #
|
||||||
################################
|
################################
|
||||||
- name: Lint Code Base
|
- name: Lint Code Base
|
||||||
uses: github/super-linter@v4
|
uses: github/super-linter@v5
|
||||||
env:
|
env:
|
||||||
VALIDATE_ALL_CODEBASE: false
|
VALIDATE_ALL_CODEBASE: false
|
||||||
DEFAULT_BRANCH: master
|
DEFAULT_BRANCH: master
|
||||||
|
@ -560,7 +560,7 @@ Once found, it will load the certificate contents to a file, and to the trust st
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
- name: Lint Code Base
|
- name: Lint Code Base
|
||||||
uses: github/super-linter@v4
|
uses: github/super-linter@v5
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
SSL_CERT_SECRET: ${{ secrets.ROOT_CA }}
|
SSL_CERT_SECRET: ${{ secrets.ROOT_CA }}
|
||||||
|
|
|
@ -57,7 +57,7 @@ jobs:
|
||||||
# Run Linter against code base #
|
# Run Linter against code base #
|
||||||
################################
|
################################
|
||||||
- name: Lint Code Base
|
- name: Lint Code Base
|
||||||
uses: github/super-linter@v4
|
uses: github/super-linter@v5
|
||||||
env:
|
env:
|
||||||
VALIDATE_ALL_CODEBASE: false
|
VALIDATE_ALL_CODEBASE: false
|
||||||
# Change to 'master' if your main branch differs
|
# Change to 'master' if your main branch differs
|
||||||
|
|
|
@ -57,7 +57,7 @@ This always runs the local docker based linting.
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
-e RUN_LOCAL=true \
|
-e RUN_LOCAL=true \
|
||||||
--env-file ".github/super-linter.env" \
|
--env-file ".github/super-linter.env" \
|
||||||
-v "$PWD":/tmp/lint github/super-linter:v4
|
-v "$PWD":/tmp/lint github/super-linter:v5
|
||||||
```
|
```
|
||||||
|
|
||||||
### scripts/test
|
### scripts/test
|
||||||
|
@ -91,7 +91,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: cat .github/super-linter.env >> "$GITHUB_ENV"
|
- run: cat .github/super-linter.env >> "$GITHUB_ENV"
|
||||||
- name: Lint Code Base
|
- name: Lint Code Base
|
||||||
uses: github/super-linter@v4
|
uses: github/super-linter@v5
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
DEFAULT_BRANCH: develop
|
DEFAULT_BRANCH: develop
|
||||||
|
|
Loading…
Reference in a new issue