Skip to content

Commit

Permalink
Update Pipeline for PHP 8.0 / PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fritz-gerneth committed Nov 4, 2021
1 parent 19c2283 commit 56f1f1e
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 93 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [7.4]
php: [7.4, "8.0", 8.1]
composer: [lowest, current, highest]
needs: lint
runs-on: ubuntu-latest
container:
image: wyrihaximusnet/php:${{ matrix.php }}-zts-alpine3.12-dev-root
image: wyrihaximusnet/php:${{ matrix.php }}-nts-alpine-dev-root
steps:
- uses: actions/checkout@v1
- name: Cache composer packages
Expand All @@ -38,13 +38,13 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [7.4]
php: [7.4, "8.0", 8.1]
composer: [lowest, current, highest]
qa: [lint, cs, stan, psalm, unit-ci, infection, composer-require-checker, composer-unused]
qa: [lint, cs, stan, psalm, unit, infection, composer-require-checker, composer-unused]
needs: composer-install
runs-on: ubuntu-latest
container:
image: wyrihaximusnet/php:${{ matrix.php }}-zts-alpine3.12-dev-root
image: wyrihaximusnet/php:${{ matrix.php }}-nts-alpine-dev-root
steps:
- uses: actions/checkout@v1
- name: Cache composer packages
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
composer.phar
vendor/
.phpcs.cache
.phpunit.result.cache
build/
covHtml/
infection-log.txt
.idea

# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# set all to phony
SHELL=bash
SHELL=sh

.PHONY: *

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"require-dev": {
"ringcentral/psr7": "^1.3.0",
"thecodingmachine/safe": "^1.2",
"wyrihaximus/async-test-utilities": "^3.2 || ^4.0"
"wyrihaximus/async-test-utilities": "^4.0.6"
},
"config": {
"platform": {
Expand Down
Loading

0 comments on commit 56f1f1e

Please sign in to comment.