From fefb31b2d30a1a0651522c708ba4f487a1630c55 Mon Sep 17 00:00:00 2001 From: ArrayIterator Date: Thu, 16 Nov 2023 08:12:43 +0700 Subject: [PATCH] change ci --- .github/workflows/continuous-integration.yml | 30 +++++++++++++------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 7d7471e..66c19bf 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -5,29 +5,39 @@ on: - push jobs: - coding-standards: + continuous-integration-php-82: name: "Coding Standards" - runs-on: ubuntu-latest - steps: - name: "Checkout" uses: actions/checkout@master - - - name: "Install Php 8.3" + - name: "Install Php 8.2" uses: shivammathur/setup-php@v2 with: php-version: '8.2' tools: composer:v2 extensions: openssl, json, pdo, pdo_mysql, fileinfo, curl - - name: "Validate composer.json" run: php $(which composer) validate --strict - - name: "Install dependencies with composer" run: php $(which composer) install --no-interaction --no-progress --no-suggest - - name: "Run PHP CodeSniffer" run: php vendor/bin/phpcs --standard=phpcs.xml - - + continuous-integration-php-83: + name: "Coding Standards" + runs-on: ubuntu-latest + steps: + - name: "Checkout" + uses: actions/checkout@master + - name: "Install Php 8.3" + uses: shivammathur/setup-php@v2 + with: + php-version: '8.3' + tools: composer:v2 + extensions: openssl, json, pdo, pdo_mysql, fileinfo, curl + - name: "Validate composer.json" + run: php $(which composer) validate --strict + - name: "Install dependencies with composer" + run: php $(which composer) install --no-interaction --no-progress --no-suggest + - name: "Run PHP CodeSniffer" + run: php vendor/bin/phpcs --standard=phpcs.xml