Skip to content

Commit a59f713

Browse files
authored
Merge pull request #125 from ThibaultVlacich/php8-tests
2 parents 8d4914a + a7ed5df commit a59f713

File tree

3 files changed

+7
-3686
lines changed

3 files changed

+7
-3686
lines changed

.github/workflows/test.yaml

+6-4
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
php: ['7.4']
18+
php: ['7.4', '8.0']
1919

2020
steps:
21-
- uses: actions/checkout@v1
21+
- uses: actions/checkout@v2
2222

23-
- name: Set default PHP version
24-
run: sudo update-alternatives --set php /usr/bin/php${{ matrix.php }}
23+
- name: Setup PHP
24+
uses: shivammathur/setup-php@v2
25+
with:
26+
php-version: "${{ matrix.php }}"
2527

2628
# Cache Composer dependencies, based on the example at https://github.com/actions/cache/blob/main/examples.md#php---composer
2729
- name: Get Composer Cache Directory

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ vendor/
66
.DS_STORE
77
.php_cs.cache
88
.phpunit.result.cache
9+
composer.lock

0 commit comments

Comments
 (0)