Bump kawax/composer-workflow/.github/workflows/update.yml from e34faf0133fe55ccc4fe9600c59798f974ae7f5b to 4bd02057ba6da0db59f49a8daa8c6d2d19bf240a in the github-actions group #20
Workflow file for this run
This file contains hidden or 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: tests | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| - main | |
| pull_request: | |
| branches: | |
| - develop | |
| - main | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| environment: Testing | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2 | |
| with: | |
| php-version: 8.5 | |
| coverage: xdebug | |
| - name: Install Dependencies | |
| run: composer install --no-interaction --prefer-dist --optimize-autoloader | |
| - name: Copy Environment File | |
| run: cp .env.example .env | |
| - name: Generate Application Key | |
| run: php artisan key:generate | |
| - name: Run Tests | |
| run: php artisan test |