Skip to content

Commit

Permalink
Merge pull request #24 from PUGX/php83
Browse files Browse the repository at this point in the history
✅ test on PHP 8.3
  • Loading branch information
garak authored Dec 23, 2023
2 parents 5430dd6 + 95c2fb9 commit 28955c1
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ on:

jobs:
phpstan:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: PHPStan
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: PHPStan
uses: docker://oskarstark/phpstan-ga
env:
REQUIRE_DEV: true
with:
args: analyse
cs-fixer:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: PHP-CS-Fixer
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Fix CS
uses: docker://oskarstark/php-cs-fixer-ga
tests:
Expand All @@ -44,14 +44,16 @@ jobs:
php: '8.0'
- description: '8.1'
php: '8.1'
- description: 'latest'
- description: '8.2'
php: '8.2'
- description: 'latest'
php: '8.3'
name: PHP ${{ matrix.php }} tests
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: ${{ matrix.php }}-${{ matrix.composer_option }}
Expand All @@ -63,7 +65,7 @@ jobs:
- run: bin/phpunit --coverage-clover=clover.xml
- name: Code Climate Test Reporter
uses: aktions/codeclimate-test-reporter@v1
if: ${{ matrix.php == '8.1' }}
if: ${{ github.event_name != 'pull_request' && matrix.php == '8.3' }}
with:
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
command: after-build --coverage-input-type clover
Expand Down

0 comments on commit 28955c1

Please sign in to comment.