Add factory methods to create an enum bit mask (#31) #142
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: PHP build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
release: | |
schedule: | |
- cron: "0 0 1 * *" | |
jobs: | |
run: | |
runs-on: ${{ matrix.operating-system }} | |
env: | |
INFECTION_BADGE_API_KEY: ${{ secrets.INFECTION_BADGE_API_KEY }} | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest] | |
php-version: ['8.1', '8.2', '8.3'] | |
name: PHP ${{ matrix.php-version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
coverage: xdebug | |
tools: composer | |
- name: Install package | |
run: | | |
composer install | |
- name: CI pack | |
run: | | |
composer ci:pack | |
bash <(curl -s https://codecov.io/bash) |