Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai authored Dec 9, 2022
1 parent 79c65a4 commit 4834bd4
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ jobs:
- '8.0'
- '8.1'
- '8.2'
- 'latest'
- '8.3'
coverage: ['pcov']
dependencies: ['']
include:
- { php-version: '7.1', coverage: 'xdebug', dependencies: '' }

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -41,7 +41,7 @@ jobs:
tools: composer:v2

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/composer
key: composer-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}
Expand Down Expand Up @@ -72,12 +72,12 @@ jobs:
runs-on: ubuntu-latest

env:
PHP_VERSION: 8.0
PHP_CS_FIXER_VERSION: v3.11.0
PHP_VERSION: '8.1'
PHP_CS_FIXER_VERSION: v3.13.0

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -86,7 +86,7 @@ jobs:
tools: php-cs-fixer:${{ env.PHP_CS_FIXER_VERSION }}

- name: Restore PHP-CS-Fixer cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: .php_cs.cache
key: "php-cs-fixer"
Expand All @@ -106,7 +106,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -117,7 +117,7 @@ jobs:
tools: composer:v2

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/composer
key: composer-${{ env.PHP_VERSION }}-${{ hashFiles('composer.*') }}
Expand Down

0 comments on commit 4834bd4

Please sign in to comment.