Skip to content

Commit 034b4ff

Browse files
committed
feat: lint the project with Super Linter
1 parent 339821e commit 034b4ff

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: CI
23

34
on:
@@ -65,12 +66,16 @@ jobs:
6566
if: false # Remove this line if Doctrine ORM is installed
6667
run: docker compose exec -T php bin/console -e test doctrine:schema:validate
6768
lint:
68-
name: Docker Lint
69+
name: Lint
6970
runs-on: ubuntu-latest
7071
steps:
7172
-
7273
name: Checkout
7374
uses: actions/checkout@v5
75+
with:
76+
fetch-depth: 0
7477
-
75-
name: Lint Dockerfile
76-
uses: hadolint/[email protected]
78+
name: Lint Code Base
79+
uses: super-linter/super-linter@v6
80+
env:
81+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

compose.override.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
# Development environment override
23
services:
34
php:

compose.prod.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
# Production environment override
23
services:
34
php:

compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
services:
23
php:
34
image: ${IMAGES_PREFIX:-}app-php

0 commit comments

Comments
 (0)