From 4178a1d32c173d4abfab9ca19e909c6b6d6131b4 Mon Sep 17 00:00:00 2001 From: SupunKavinda Date: Mon, 21 Oct 2024 13:22:28 +0530 Subject: [PATCH] lint in main --- .github/workflows/lint.yaml | 41 +++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 20 deletions(-) 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