Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli authored Aug 31, 2024
1 parent 72ca079 commit c0ddd89
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
branches: ['main']
pull_request:
branches: ['*']
schedule:
- cron: '0 0 * * *'

jobs:

Expand All @@ -16,21 +14,20 @@ jobs:
timeout-minutes: 15
strategy:
matrix:
php: [ '8.0', '8.1', '8.2' ]
php: [ '8.1', '8.2', '8.3', '8.4' ]
dependency-version: [ '' ]
include:
- php: '8.0'
- php: '8.1'
dependency-version: '--prefer-lowest'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none
- name: Cache Composer dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.composer/cache
key: php-${{ matrix.php }}-composer-locked-${{ hashFiles('composer.lock') }}
Expand All @@ -44,15 +41,15 @@ jobs:
name: Coding standards
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
tools: composer:v2, cs2pr
php-version: 8.3
tools: cs2pr
coverage: none
- name: Cache Composer dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.composer/cache
key: php-composer-locked-${{ hashFiles('composer.lock') }}
Expand Down

0 comments on commit c0ddd89

Please sign in to comment.