Skip to content

Run symfony command

Actions
Run symfony commands using kernel class
1.0.0
Latest
Star (3)

Symfony Console GitHub Action

Usage

You can use it as a Github Action like this:

# .github/workflows/lint.yml
name: "Lint"

on:
  pull_request:
  push:

jobs:
  merge:
    name: "Lint symfony container"
    
    runs-on: "ubuntu-latest"

    steps:
    - name: "Checkout"
      uses: "actions/checkout@v2"
      
    - name: "Install PHP with extensions"
      uses: "shivammathur/setup-php@v2"
        
    - name: "Install Composer dependencies"
      uses: "ramsey/composer-install@v2"
      
    - name: "Lint"
      uses: "nucleos/[email protected]"
      env:
        kernel: "App\\CustomKernel"
        command: "lint:container"

The kernel environment is optional. The default is App\Kernel.

Run symfony command is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Run symfony commands using kernel class
1.0.0
Latest

Run symfony command is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.