Skip to content

Commit

Permalink
Update actions in ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kdambekalns authored Dec 10, 2024
1 parent 4bdd516 commit a8394c7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows.inactive/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:
tests:
Expand All @@ -23,6 +23,9 @@ jobs:

php-version:
- "7.4"
- "8.1"
- "8.2"
- "8.3"

compiler:
- default
Expand All @@ -32,7 +35,7 @@ jobs:

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

- name: Override PHP ini values for JIT compiler
if: matrix.compiler == 'jit'
Expand All @@ -55,7 +58,7 @@ jobs:
run: echo "COMPOSER_CACHE_DIR=~\AppData\Local\Composer" >> $GITHUB_ENV

- name: Cache dependencies installed with composer
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ${{ env.COMPOSER_CACHE_DIR }}
key: php${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.json') }}
Expand Down

0 comments on commit a8394c7

Please sign in to comment.