From cb383c5820608f5bb544fff18119a7bd020d1807 Mon Sep 17 00:00:00 2001 From: sebprt Date: Wed, 22 Nov 2023 14:59:31 +0100 Subject: [PATCH] Updated phpstan and infection github actions --- .github/workflows/infection.yaml | 4 ++-- .github/workflows/phpstan-5.yaml | 26 -------------------------- .github/workflows/quality.yaml | 2 +- 3 files changed, 3 insertions(+), 29 deletions(-) delete mode 100644 .github/workflows/phpstan-5.yaml diff --git a/.github/workflows/infection.yaml b/.github/workflows/infection.yaml index c5adb1e..aacb82d 100644 --- a/.github/workflows/infection.yaml +++ b/.github/workflows/infection.yaml @@ -23,8 +23,8 @@ jobs: - name: Infection run: | - wget -q https://github.com/infection/infection/releases/download/0.26.18/infection.phar - wget -q https://github.com/infection/infection/releases/download/0.26.18/infection.phar.asc + wget -q https://github.com/infection/infection/releases/download/0.27.0/infection.phar + wget -q https://github.com/infection/infection/releases/download/0.27.0/infection.phar.asc chmod +x infection.phar ./infection.phar diff --git a/.github/workflows/phpstan-5.yaml b/.github/workflows/phpstan-5.yaml deleted file mode 100644 index 1d9e19f..0000000 --- a/.github/workflows/phpstan-5.yaml +++ /dev/null @@ -1,26 +0,0 @@ -name: PHPStan level 5 -on: push -jobs: - phpstan: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 - with: - path: '**/vendor' - key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} - restore-keys: | - ${{ runner.os }}-composer- - - uses: php-actions/composer@v6 - with: - args: --prefer-dist - php_version: '8.2' - php_extensions: zip xdebug - - - name: PHPStan - uses: php-actions/phpstan@v3 - with: - path: src/ - level: 5 - php_version: '8.2' - php_extensions: zip xdebug diff --git a/.github/workflows/quality.yaml b/.github/workflows/quality.yaml index c27d2d0..d713d22 100644 --- a/.github/workflows/quality.yaml +++ b/.github/workflows/quality.yaml @@ -34,6 +34,6 @@ jobs: uses: php-actions/phpstan@v3 with: path: src/ - level: 4 + level: 5 php_version: '8.2' php_extensions: zip xdebug