Skip to content

Commit

Permalink
ci: use global phplint instead of downloaded phar
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Klein <[email protected]>
  • Loading branch information
schakko committed Oct 28, 2024
1 parent cab1e6b commit a6c85b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,14 @@ jobs:
with:
php-version: "${{ matrix.php }}"
coverage: "none"
tools: phplint

- name: Lint PHP files
run: |
curl -Ls https://github.com/overtrue/phplint/releases/latest/download/phplint.phar -o /usr/local/bin/phplint
chmod +x /usr/local/bin/phplint
/usr/local/bin/phplint -vvv --no-cache
# curl -Ls https://github.com/overtrue/phplint/releases/latest/download/phplint.phar -o /usr/local/bin/phplint
# chmod +x /usr/local/bin/phplint
# /usr/local/bin/phplint -vvv --no-cache
phplint -vvv --no-cache

- name: PHPUnit test
uses: php-actions/phpunit@v2
Expand Down
3 changes: 0 additions & 3 deletions box.json

This file was deleted.

0 comments on commit a6c85b5

Please sign in to comment.