Skip to content

Commit

Permalink
Update linter.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Josh <[email protected]>
  • Loading branch information
joshtrichards authored Jul 2, 2024
1 parent 9cbb460 commit 4aa61c0
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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

0 comments on commit 4aa61c0

Please sign in to comment.