Skip to content

Commit

Permalink
php 8.3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Triplkrypl committed Jan 7, 2024
1 parent d4dfc2d commit 6bfba5a
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,29 @@ name: CI
on:
push:
branches:
- "*"
- "**"

jobs:
php83:
name: "php 8.3"
runs-on: ubuntu-latest
container: "nofutur3/php-tests:8.3"
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install tools
run: phive install --trust-gpg-keys E82B2FB314E9906E,4AA394086372C20A

- name: Install dependencies
run: composer install --no-interaction

- name: Run static analysis
run: vendor/bin/phpstan analyse

- name: Run tests
run: tools/phpunit test/ --bootstrap vendor/autoload.php

php82:
name: "php 8.2"
runs-on: ubuntu-latest
Expand All @@ -15,7 +35,7 @@ jobs:
uses: actions/checkout@v3

- name: Install tools
run: phive install --trust-gpg-keys E82B2FB314E9906E,4AA394086372C20A,51C67305FFC2E5C0
run: phive install --trust-gpg-keys E82B2FB314E9906E,4AA394086372C20A

- name: Install dependencies
run: composer install --no-interaction
Expand Down

0 comments on commit 6bfba5a

Please sign in to comment.