Add support for PHP 8.4 and librdkafka 2.4.0, 2.5.0, 2.5.3, 2.6.0 #73
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: Coding Standard | |
on: | |
push: | |
pull_request: | |
jobs: | |
coding-standard: | |
name: Coding Standard | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.1 | |
coverage: none | |
- name: Get composer cache directory | |
id: composer-cache | |
run: | | |
echo "::set-output name=dir::$(composer config cache-files-dir)" | |
- name: Cache composer cache directory | |
uses: actions/cache@v4 | |
with: | |
path: ${{ steps.composer-cache.outputs.dir }} | |
key: ${{ runner.os }}-8.1-composer-${{ hashFiles('**/composer.json') }} | |
restore-keys: ${{ runner.os }}-8.1-composer- | |
- name: Install dependencies | |
run: composer update --prefer-dist --prefer-stable --no-interaction | |
- name: Check style | |
run: composer cs |