Skip to content

Commit

Permalink
feat: lint the project with Super Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Apr 22, 2024
1 parent dc170d9 commit 17c075f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
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

0 comments on commit 17c075f

Please sign in to comment.