Skip to content

Commit

Permalink
Update linting_tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
devansh-webkul authored Jan 24, 2025
1 parent 1425d97 commit 5e8d51a
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/linting_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,33 @@ name: Linting Tests

on: [push, pull_request]

permissions:
contents: write

jobs:
linting_tests:
runs-on: ${{ matrix.operating-systems }}

strategy:
matrix:
operating-systems: [ubuntu-latest]
php-versions: ['8.3', '8.2']
php-versions: ['8.3']

name: PHP ${{ matrix.php-versions }} test on ${{ matrix.operating-systems }}

steps:
- uses: actions/checkout@v1
- name: Running Pint Test
uses: aglipanci/[email protected]
with:
testMode: true
verboseMode: true
- name: Checkout
uses: actions/checkout@v4

- name: Install Pint
run: composer global require laravel/pint
env:
COMPOSER_HOME: ${{ runner.temp }}/composer

- name: Run Pint
run: ${{ runner.temp }}/composer/vendor/bin/pint

- name: Commit Linted Files
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: applied pint changes"

0 comments on commit 5e8d51a

Please sign in to comment.