Bump the all group with 5 updates (#119) #326
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: Main | |
on: | |
push: | |
branches: [ main, develop, wip ] | |
paths-ignore: | |
- .idea/** | |
- docs/** | |
pull_request: | |
branches: [ main ] | |
paths-ignore: | |
- .idea/** | |
- docs/** | |
schedule: | |
# Every Monday at 00:00:00 UTC. | |
# @see https://crontab.cronhub.io/ | |
- cron: "0 0 * * 1" | |
jobs: | |
quality_check: | |
name: "Quality Check" | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php: [ "8.2" ] | |
steps: | |
- name: "Set up PHP" | |
uses: shivammathur/setup-php@v2 # https://github.com/marketplace/actions/setup-php-action | |
with: | |
php-version: "${{ matrix.php }}" | |
coverage: none | |
- name: "Checkout code" | |
uses: actions/checkout@v4 # https://github.com/marketplace/actions/checkout | |
- name: "Install dependencies" | |
uses: ramsey/composer-install@v3 # https://github.com/marketplace/actions/install-composer-dependencies | |
- name: "Run all quality checks" | |
run: "composer static" | |
tests: | |
name: "Test: ${{ matrix.os }} (${{ matrix.php }})" | |
runs-on: "${{ matrix.os }}" | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
php: [ "8.2" ] | |
steps: | |
- name: "Install rsync" | |
uses: GuillaumeFalourd/[email protected] # https://github.com/marketplace/actions/setup-rsync | |
- name: "Set up PHP" | |
uses: shivammathur/setup-php@v2 # https://github.com/marketplace/actions/setup-php-action | |
with: | |
php-version: "${{ matrix.php }}" | |
coverage: none | |
- name: "Checkout code" | |
uses: actions/checkout@v4 # https://github.com/marketplace/actions/checkout | |
- name: "Install dependencies" | |
uses: ramsey/composer-install@v3 # https://github.com/marketplace/actions/install-composer-dependencies | |
- name: "Run tests" | |
run: "composer phpunit" |