Skip to content

Commit 0481547

Browse files
Merge pull request #66 from michaelachrisco/update-ci
Add PHP 8.4/8.5 build configuration to workflow
2 parents c0bcff5 + 84e36dc commit 0481547

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,42 @@ jobs:
4343
4444
- name: Run tests
4545
run: ./vendor/bin/kahlan -reporter=verbose
46+
47+
48+
build_php_version_84:
49+
runs-on: ubuntu-latest
50+
steps:
51+
- name: Checkout code
52+
uses: actions/checkout@v2
53+
54+
- name: Set up PHP 8.4
55+
uses: shivammathur/setup-php@v2
56+
with:
57+
php-version: 8.4
58+
59+
- name: Install dependencies
60+
run: |
61+
sudo composer self-update
62+
composer install -n --prefer-dist --no-plugins
63+
64+
- name: Run tests
65+
run: ./vendor/bin/kahlan -reporter=verbose
66+
67+
build_php_version_85:
68+
runs-on: ubuntu-latest
69+
steps:
70+
- name: Checkout code
71+
uses: actions/checkout@v2
72+
73+
- name: Set up PHP 8.5
74+
uses: shivammathur/setup-php@v2
75+
with:
76+
php-version: 8.5
77+
78+
- name: Install dependencies
79+
run: |
80+
sudo composer self-update
81+
composer install -n --prefer-dist --no-plugins
82+
83+
- name: Run tests
84+
run: ./vendor/bin/kahlan -reporter=verbose

0 commit comments

Comments
 (0)