Merge pull request #11 from rabiloo/dependabot/github_actions/actions… #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test install | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
branches: | |
- master | |
- develop | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Test install | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.1' | |
tools: composer | |
- name: Execute test | |
run: | | |
composer create-project laravel/laravel test-project | |
cd test-project | |
composer require rabiloo/coding-standard --dev | |
ls -la | |
php artisan vendor:publish --tag rabiloo-coding-standard --ansi --force | |
ls -la |