From 208146902d0c9ea9ad9e9f65cfe6d1a8acb81624 Mon Sep 17 00:00:00 2001 From: Josh Bruce <15252830+joshbruce@users.noreply.github.com> Date: Sat, 10 Dec 2022 22:45:50 -0500 Subject: [PATCH 1/2] verify: PHP 8.2 support --- .github/workflows/php81.yml | 4 ++-- .github/workflows/php82.yml | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/php82.yml diff --git a/.github/workflows/php81.yml b/.github/workflows/php81.yml index 535bd59..22b289e 100644 --- a/.github/workflows/php81.yml +++ b/.github/workflows/php81.yml @@ -1,4 +1,4 @@ -name: PHP 8.1 +name: PHP 8.2 on: push: @@ -16,7 +16,7 @@ jobs: - name: Setup PHP Action uses: shivammathur/setup-php@2.15.0 with: - php-version: '8.1' + php-version: '8.2' - name: Validate composer.json and composer.lock run: composer validate diff --git a/.github/workflows/php82.yml b/.github/workflows/php82.yml new file mode 100644 index 0000000..535bd59 --- /dev/null +++ b/.github/workflows/php82.yml @@ -0,0 +1,34 @@ +name: PHP 8.1 + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Setup PHP Action + uses: shivammathur/setup-php@2.15.0 + with: + php-version: '8.1' + + - name: Validate composer.json and composer.lock + run: composer validate + + - name: Install dependencies + run: composer install --prefer-dist --no-progress + + - name: Run style check + run: composer run style + + - name: Run static analyzer + run: composer run stan + + - name: Run tests + run: composer run test From 5c84bc04490ce42d2c3aadbdcf1bb004ebe51168 Mon Sep 17 00:00:00 2001 From: Josh Bruce <15252830+joshbruce@users.noreply.github.com> Date: Sat, 10 Dec 2022 22:47:36 -0500 Subject: [PATCH 2/2] update: Workflows --- .github/workflows/php81.yml | 4 ++-- .github/workflows/php82.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/php81.yml b/.github/workflows/php81.yml index 22b289e..535bd59 100644 --- a/.github/workflows/php81.yml +++ b/.github/workflows/php81.yml @@ -1,4 +1,4 @@ -name: PHP 8.2 +name: PHP 8.1 on: push: @@ -16,7 +16,7 @@ jobs: - name: Setup PHP Action uses: shivammathur/setup-php@2.15.0 with: - php-version: '8.2' + php-version: '8.1' - name: Validate composer.json and composer.lock run: composer validate diff --git a/.github/workflows/php82.yml b/.github/workflows/php82.yml index 535bd59..22b289e 100644 --- a/.github/workflows/php82.yml +++ b/.github/workflows/php82.yml @@ -1,4 +1,4 @@ -name: PHP 8.1 +name: PHP 8.2 on: push: @@ -16,7 +16,7 @@ jobs: - name: Setup PHP Action uses: shivammathur/setup-php@2.15.0 with: - php-version: '8.1' + php-version: '8.2' - name: Validate composer.json and composer.lock run: composer validate