Skip to content

Commit

Permalink
Merge pull request #547 from Chris53897/feature/add-ci-tests-for-php82
Browse files Browse the repository at this point in the history
add ci tests for php8.2, bump github action versions
  • Loading branch information
pierredup authored Jan 9, 2023
2 parents 4322a97 + ad94d36 commit 6c2cd27
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ jobs:
symfony: 6.0.*
- php: 8.1
symfony: 6.1.*
- php: 8.2
symfony: 6.2.*

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

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -45,10 +47,10 @@ jobs:

- name: Get composer cache directory
id: composercache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.composercache.outputs.dir }}
key: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json composer.lock') }}
Expand All @@ -59,8 +61,8 @@ jobs:

- name: Install Symfony Flex
run: |
composer require symfony/flex:^1 --no-update
composer config --no-plugins allow-plugins.symfony/flex true
composer require symfony/flex:"^1|^2" --no-update
- name: Install dependencies
run: composer update
Expand Down

0 comments on commit 6c2cd27

Please sign in to comment.