Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI build for PHP 8.3 #44

Merged
merged 2 commits into from
Nov 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.1', '7.4', '8.0', '8.1', '8.2']
php: ['7.1', '7.4', '8.0', '8.1', '8.2', '8.3']
composer: ['--prefer-lowest', '']
exclude:
- php: '8.0'
Expand All @@ -20,6 +20,8 @@ jobs:
composer: '--prefer-lowest'
- php: '8.2'
composer: '--prefer-lowest'
- php: '8.3'
composer: '--prefer-lowest'
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -29,16 +31,16 @@ jobs:
coverage: xdebug

- name: Git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Validate composer.json and composer.lock
run: composer validate

- name: Prepare Composer cache vars
id: composer
run: |
echo "::set-output name=cache_dir::$(composer config cache-files-dir)"
echo "::set-output name=cache_key::$(date +'%Y-%m-%d')-${{ runner.os }}-${{ matrix.php }}${{ matrix.composer }}-composer-"
echo "cache_dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
echo "cache_key=$(date +'%Y-%m-%d')-${{ runner.os }}-${{ matrix.php }}${{ matrix.composer }}-composer-" >> $GITHUB_OUTPUT

- name: Cache Composer dependencies
uses: actions/cache@v3
Expand Down