diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1f90c12..127b445 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -6,11 +6,11 @@ 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: @@ -18,11 +18,11 @@ jobs: 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: @@ -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 }} @@ -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