Remove Safe dependency #53
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: build | |
| on: | |
| push: ~ | |
| pull_request: ~ | |
| schedule: | |
| - cron: 5 8 * * 3 | |
| jobs: | |
| checks: | |
| name: PHP ${{ matrix.php-versions }} | |
| runs-on: ${{ matrix.operating-system }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| operating-system: [ubuntu-latest] | |
| php-versions: ['7.4'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup PHP, with composer and extensions | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-versions }} | |
| extensions: intl | |
| - name: Install Composer dependencies | |
| run: composer update --no-progress --no-suggest --prefer-dist --no-interaction | |
| - name: Validate composer | |
| run: composer validate --strict | |
| - name: Check composer normalized | |
| run: composer normalize --dry-run | |
| - name: Check style | |
| run: composer check-style | |
| - name: Static analysis | |
| run: composer analyse | |
| - name: Run phpspec | |
| run: composer phpspec | |
| - name: Run phpunit | |
| run: composer phpunit |