Skip to content

Commit

Permalink
#151 - Update versions in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Apr 13, 2024
1 parent a3707d2 commit e1fc293
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-phar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ jobs:
name: Compile and upload Phar
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Compile phalcon-migrations.phar
run: |
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ jobs:
env:
extensions: mbstring, intl, json, phalcon-${{ matrix.phalcon-versions }}, mysql, pgsql
key: cache-v2.2~17.05.2020

services:
mysql:
image: mysql:5.7
image: mysql:8.0
env:
MYSQL_DATABASE: phalcon-migrations
MYSQL_ROOT_PASSWORD: root
Expand All @@ -23,13 +24,15 @@ jobs:
ports:
- 5432/tcp
options: --health-cmd pg_isready --health-interval 5s --health-timeout 5s --health-retries 2

strategy:
fail-fast: false
matrix:
php-versions: ['7.4', '8.0', '8.1']
phalcon-versions: ['5.0.1', '5.0.2', '5.0.3', '5.0.4', '5.0.5']
php-versions: ['8.0', '8.1', '8.2', '8.3']
phalcon-versions: ['5.5.0', '5.6.0', '5.6.1', '5.6.2']
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Setup cache environment
id: cache-env
uses: shivammathur/cache-extensions@v1
Expand Down Expand Up @@ -63,8 +66,7 @@ jobs:
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-

- name: Install Composer dependencies
run: composer install --prefer-dist --no-suggest
- run: composer install --prefer-dist --no-suggest

- name: Copy .env file
run: cp tests/.env.example tests/.env
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/validations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ jobs:
name: PSR-12 Code style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Validate composer.json and composer.lock
run: composer validate
- run: composer validate

- name: Get Composer Cache Directory
id: composer-cache
Expand Down Expand Up @@ -38,9 +37,9 @@ jobs:
fail-fast: false
matrix:
php-versions: ['7.4', '8.0', '8.1']

steps:
- name: Checkout the code
uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Setup cache environment
id: cache-env
Expand Down

0 comments on commit e1fc293

Please sign in to comment.