diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 07f09bc..2a2eaf2 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -7,8 +7,6 @@ on: pull_request: branches: - main - schedule: - - cron: "15 5 * * 1,3,5" jobs: install-dependencies: @@ -42,7 +40,6 @@ jobs: restore-keys: php-composer-lock-${{ runner.os }}-${{ github.run_id }} composer-validation: - if: github.event_name == 'pull_request' runs-on: ubuntu-latest name: Composer Validation needs: install-dependencies @@ -81,7 +78,6 @@ jobs: run: composer dump-autoload --optimize --strict-psr dependency-review: - if: github.event_name == 'pull_request' runs-on: ubuntu-latest name: Dependency Review needs: install-dependencies @@ -111,7 +107,6 @@ jobs: license-check: true code-analysis-php-stan: - if: github.event_name == 'pull_request' runs-on: ubuntu-latest name: PHPStan needs: @@ -148,7 +143,6 @@ jobs: run: php -d memory_limit=-1 vendor/bin/phpstan analyse --level max tests code-analysis-php-codesniffer: - if: github.event_name == 'pull_request' runs-on: ubuntu-latest name: PHPCodeSniffer needs: @@ -185,7 +179,6 @@ jobs: run: php -d memory_limit=-1 vendor/bin/phpcs --standard=PSR12 tests code-analysis-phplint: - if: github.event_name == 'pull_request' runs-on: ubuntu-latest name: PHPLint needs: @@ -272,14 +265,12 @@ jobs: run: php vendor/bin/phpunit --coverage-clover tests/build/logs/clover.xml --coverage-html tests/build/coverage - name: Upload coverage reports to Codecov - if: github.event_name == 'pull_request' uses: codecov/codecov-action@v5 with: files: tests/build/logs/clover.xml token: ${{ secrets.CODECOV_TOKEN_LION_COMMAND }} tests-infection: - if: github.event_name == 'pull_request' runs-on: ubuntu-latest name: Infection needs: