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

Prepare release #7

Merged
merged 14 commits into from
Mar 30, 2024
34 changes: 34 additions & 0 deletions .github/workflows/php82.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: PHP 8.2

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP Action
uses: shivammathur/setup-php@2.15.0
with:
php-version: '8.2'

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

- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Run style check
run: composer run style

- name: Run static analyzer
run: composer run stan

- name: Run tests
run: composer run test
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"support": {
},
"require": {
"php": "^8.1",
"8fold/php-xml-builder": "^1.3"
"php": "^8.1 | ^8.2",
"8fold/php-xml-builder": "^2.0"
},
"require-dev": {
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^9.5",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^10.0",
"squizlabs/php_codesniffer": "^3.7"
},
"autoload": {
Expand Down
Loading
Loading