(feat) Set job Cron weekly and update README.md #13
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: "Continuous Integration" | |
on: | |
push: | |
branches: | |
- "main" | |
tags: | |
- "*" | |
pull_request: | |
branches: | |
- "main" | |
jobs: | |
testing: | |
name: "Testing" | |
runs-on: "ubuntu-latest" | |
strategy: | |
matrix: | |
php: ['8.2', '8.3'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
- run: "composer install --no-interaction" | |
- run: "vendor/bin/php-cs-fixer fix --dry-run -v" | |
- run: "vendor/bin/phpstan analyse" | |
- run: "vendor/bin/phpunit tests" |