0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-09-30 00:12:36 +02:00

Update linter.yml

Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
Josh 2024-07-02 15:23:32 -04:00 committed by GitHub
parent 9cbb4604ab
commit 4aa61c067c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,20 +4,36 @@ on:
pull_request:
push:
permissions: { }
jobs:
build:
name: Lint Code Base
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
statuses: write
steps:
- uses: actions/checkout@v2
- name: Lint Code Base
uses: github/super-linter@v3
- name: Checkout code
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Super-Linter
uses: super-linter/super-linter@v6.6.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_BASH: true
VALIDATE_DOCKERFILE: true
VALIDATE_DOCKERFILE_HADOLINT: true
VALIDATE_ENV: true
VALIDATE_GITHUB_ACTIONS: true
VALIDATE_MARKDOWN: true
VALIDATE_PHP_BUILTIN: true
VALIDATE_PHP_PHPCS: true
VALIDATE_PHP_PHPSTAN: true
VALIDATE_PHP_PSALM: true
VALIDATE_YAML: true