Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: lint the project with Super Linter #544

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: CI

on:
Expand Down Expand Up @@ -62,12 +63,16 @@ jobs:
if: false # Remove this line if Doctrine ORM is installed
run: docker compose exec -T php bin/console -e test doctrine:schema:validate
lint:
name: Docker Lint
name: Lint
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Lint Dockerfile
uses: hadolint/[email protected]
name: Lint Code Base
uses: super-linter/super-linter@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions compose.override.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# Development environment override
services:
php:
Expand Down
1 change: 1 addition & 0 deletions compose.prod.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# Production environment override
services:
php:
Expand Down
1 change: 1 addition & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
services:
php:
image: ${IMAGES_PREFIX:-}app-php
Expand Down