From 67decbb18264afc66802e40298d7e7825fc049f2 Mon Sep 17 00:00:00 2001 From: kenjis Date: Fri, 2 Dec 2022 08:33:50 +0900 Subject: [PATCH] chore: run tests with only one PHP version --- .github/workflows/test-coding-standards.yml | 11 ++--------- .github/workflows/test-rector.yml | 5 ++--- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test-coding-standards.yml b/.github/workflows/test-coding-standards.yml index 699b03524de5..001c71e2e62e 100644 --- a/.github/workflows/test-coding-standards.yml +++ b/.github/workflows/test-coding-standards.yml @@ -18,16 +18,9 @@ concurrency: jobs: lint: - name: PHP ${{ matrix.php-version }} Lint with PHP CS Fixer + name: Lint with PHP CS Fixer runs-on: ubuntu-22.04 - strategy: - fail-fast: false - matrix: - php-version: - - '8.0' - - '8.1' - steps: - name: Checkout uses: actions/checkout@v3 @@ -35,7 +28,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: ${{ matrix.php-version }} + php-version: '8.1' extensions: tokenizer coverage: none diff --git a/.github/workflows/test-rector.yml b/.github/workflows/test-rector.yml index 8288cd9725f1..d695d2c388f5 100644 --- a/.github/workflows/test-rector.yml +++ b/.github/workflows/test-rector.yml @@ -35,12 +35,11 @@ concurrency: jobs: build: - name: PHP ${{ matrix.php-versions }} Analyze code (Rector) on ${{ matrix.paths }} + name: Analyze code (Rector) runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: - php-versions: ['8.0', '8.1'] paths: - app - system @@ -53,7 +52,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: ${{ matrix.php-versions }} + php-version: '8.1' extensions: intl - name: Use latest Composer