From b65aeb3b9d3301ea4a819b1ec3367255d65c5267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Brala?= Date: Sat, 7 Dec 2024 18:43:58 +0100 Subject: [PATCH] fix github actions --- .github/workflows/tests.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fc04bdf..2a2484a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,10 +1,12 @@ name: Tests on: - push: master - pull_request: + push: + branches: + master + pull_request: {} schedule: - - cron: '0 1 0 * *' + - cron: '0 1 * * 1' jobs: test: @@ -20,7 +22,7 @@ jobs: with: php-version: ${{ matrix.php }} tools: composer - - run: composer require phpstan/phpstan ${{ matrix.phpstan }} + - run: composer require "phpstan/phpstan:${{ matrix.phpstan }}" - run: composer test format: @@ -51,5 +53,5 @@ jobs: with: php-version: ${{ matrix.php }} tools: composer - - run: composer require phpstan/phpstan ${{ matrix.phpstan }} + - run: composer require "phpstan/phpstan:${{ matrix.phpstan }}" - run: composer analyse