diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index b8a433c..8689e36 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -3,32 +3,33 @@ name: Lint on: push: branches: + - main - dev jobs: - lint: - name: Code Style Fixes - runs-on: ubuntu-22.04 + lint: + name: Code Style Fixes + runs-on: ubuntu-22.04 - steps: - - name: Checkout - uses: actions/checkout@v3 + steps: + - name: Checkout + uses: actions/checkout@v3 - - name: Set up PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '8.3' + - name: Set up PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.3' - - name: Install dependencies - run: composer install --ansi --no-progress + - name: Install dependencies + run : composer install --ansi --no-progress - - name: Install Pint - run: composer global require laravel/pint + - name: Install Pint + run: composer global require laravel/pint - - name: Run Pint - run: pint + - name: Run Pint + run: pint - - name: Commit linted files - uses: stefanzweifel/git-auto-commit-action@v5 - with: - commit_message: "Fixes coding style" \ No newline at end of file + - name: Commit linted files + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: "Fixes coding style" \ No newline at end of file