Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cerbero90 authored Aug 19, 2023
1 parent ea24183 commit 1b6646d
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,19 @@ jobs:
name: Linting

steps:
- uses: actions/checkout@v3
- name: Duster Lint
uses: tighten/duster-action@v1
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
args: lint -u tlint,phpcodesniffer,pint,phpstan
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none

- name: Install dependencies
run: |
composer update --prefer-stable --prefer-dist --no-interaction
- name: Execute Duster
run: vendor/bin/duster lint -u tlint,phpcodesniffer,pint,phpstan

0 comments on commit 1b6646d

Please sign in to comment.