From 4febb27ccc62490cbd371acb6ce64e2ea13d93c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20Felix=20=C5=A0ulc?= Date: Wed, 15 Nov 2023 12:26:49 +0100 Subject: [PATCH] CI: modernize --- .github/workflows/codesniffer.yml | 2 +- .github/workflows/phpstan.yml | 2 +- .github/workflows/tests.yml | 43 ++++++++++++++++++++----------- 3 files changed, 30 insertions(+), 17 deletions(-) diff --git a/.github/workflows/codesniffer.yml b/.github/workflows/codesniffer.yml index aff5bff..d5b7f1a 100644 --- a/.github/workflows/codesniffer.yml +++ b/.github/workflows/codesniffer.yml @@ -14,4 +14,4 @@ jobs: name: "Codesniffer" uses: contributte/.github/.github/workflows/codesniffer.yml@master with: - php: "8.0" + php: "8.2" diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index b4ddc77..83ccebc 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -14,4 +14,4 @@ jobs: name: "Phpstan" uses: contributte/.github/.github/workflows/phpstan.yml@master with: - php: "8.0" + php: "8.2" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f816b75..f685e67 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,23 +1,36 @@ name: "Nette Tester" on: - pull_request: + pull_request: - push: - branches: ["*"] + push: + branches: [ "*" ] - schedule: - - cron: "0 8 * * 1" + schedule: + - cron: "0 8 * * 1" jobs: - build80: - name: "Nette Tester" - uses: contributte/.github/.github/workflows/nette-tester.yml@master - with: - php: "8.0" + php82: + name: "Nette Tester" + uses: contributte/.github/.github/workflows/nette-tester.yml@master + with: + php: "8.2" - build81: - name: "Nette Tester" - uses: contributte/.github/.github/workflows/nette-tester.yml@master - with: - php: "8.1" + php81: + name: "Nette Tester" + uses: contributte/.github/.github/workflows/nette-tester.yml@master + with: + php: "8.1" + + php80: + name: "Nette Tester" + uses: contributte/.github/.github/workflows/nette-tester.yml@master + with: + php: "8.0" + + phplower: + name: "Nette Tester" + uses: contributte/.github/.github/workflows/nette-tester.yml@master + with: + php: "8.0" + composer: "composer update --no-interaction --no-progress --prefer-dist --prefer-stable --prefer-lowest"