Skip to content

Commit

Permalink
Reset modules before checking code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo committed Aug 23, 2024
1 parent ce14395 commit 87171ca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/code-quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ jobs:
- name: Install Composer dependencies
run: composer install --no-interaction --no-progress --no-scripts

- name: Reset modules
run: |
git reset --hard
git clean -fd
- name: Run code quality checks (on push)
if: github.event_name == 'push'
run: ./.github/workflows/utilities/phpcs-push ${{ github.sha }}
Expand Down

0 comments on commit 87171ca

Please sign in to comment.