Bump dependabot/fetch-metadata from 2.5.0 to 3.0.0 #458
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
| on: push | |
| name: CI | |
| jobs: | |
| phpunit: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: kirschbaumdevelopment/laravel-test-runner:8.2 | |
| services: | |
| mysql: | |
| image: mysql:8.0 | |
| env: | |
| MYSQL_ROOT_PASSWORD: password | |
| MYSQL_DATABASE: test_db | |
| ports: | |
| - 33306:3306 | |
| options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Install composer dependencies | |
| run: | | |
| composer install --no-scripts | |
| - name: Setup .env file | |
| run: | | |
| cp .env.ci .env | |
| echo STRIPE_KEY=${{secrets.STRIPE_KEY}} >> .env | |
| echo STRIPE_SECRET=${{secrets.STRIPE_SECRET}} >> .env | |
| echo STRIPE_WEBHOOK_SECRET=${{secrets.STRIPE_WEBHOOK_SECRET}} >> .env | |
| - name: Prepare Laravel Application | |
| run: | | |
| php artisan key:generate | |
| php artisan --version | |
| - name: Migrate database | |
| run: | | |
| mysql --version | |
| php artisan migrate | |
| - name: Execute tests | |
| run: composer test |