Skip to content

Commit

Permalink
Update the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmichot committed Sep 7, 2023
1 parent 5428b9c commit d3922d6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
26 changes: 25 additions & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,28 @@ on: [ push ]

jobs:
lint:
uses: socialiteproviders/.github/.github/workflows/coding-standards.yml@main
runs-on: ubuntu-latest

steps:
- name: Checkout the code
uses: actions/checkout@v3
with:
token: ${{ secrets.PAT }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ inputs.php }}
extensions: json, dom, curl, libxml, mbstring
coverage: none

- name: Install Pint
run: composer global require laravel/pint

- name: Run Pint
run: pint

- name: Commit linted files
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Apply code styling fixes"
6 changes: 5 additions & 1 deletion src/Helpers/ConfigRetriever.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@ protected function getConfigFromServicesArray($providerName)
}
}

return $this->servicesArray = $configArray;




return $this->servicesArray = $configArray;
}

/**
Expand Down

0 comments on commit d3922d6

Please sign in to comment.