Skip to content

Commit ab36e6d

Browse files
authored
ci: add PHP 8.1 (#364)
1 parent 9dcb97e commit ab36e6d

File tree

9 files changed

+312
-275
lines changed

9 files changed

+312
-275
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ jobs:
1616
php:
1717
- '7.4'
1818
- '8.0'
19+
- '8.1'
1920
include:
20-
- php: '8.0'
21+
- php: '8.1'
2122
coverage: true
2223
steps:
2324
- uses: actions/checkout@v2
@@ -48,11 +49,11 @@ jobs:
4849
sudo chown -R $(whoami):$(whoami) .
4950
5051
- name: Install dependencies
51-
if: startsWith(matrix.php, '8.0')
52+
if: startsWith(matrix.php, '8.1')
5253
run: composer install --prefer-dist --no-interaction --no-progress --ansi
5354

5455
- name: Update dependencies
55-
if: "!startsWith(matrix.php, '8.0')"
56+
if: "!startsWith(matrix.php, '8.1')"
5657
run: composer update --no-interaction --no-progress --ansi
5758

5859
- name: Enable code coverage
@@ -75,7 +76,7 @@ jobs:
7576
run: vendor/bin/phpstan analyse --ansi
7677

7778
- name: Run e2e tests
78-
if: startsWith(matrix.php, '8.0')
79+
if: startsWith(matrix.php, '8.')
7980
run: bin/compile
8081

8182
- name: Upload coverage results to Coveralls

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"php": ">=7.4",
3636
"ext-json": "*",
3737
"doctrine/inflector": "^1.4.3 || ^2.0",
38-
"easyrdf/easyrdf": "^1.1",
38+
"sweetrdf/easyrdf": "^1.6",
3939
"friendsofphp/php-cs-fixer": "^2.15 || ^3.0",
4040
"league/html-to-markdown": "^5.0",
4141
"psr/log": "^1.0 || ^2.0 || ^3.0",

0 commit comments

Comments
 (0)