Skip to content

Commit

Permalink
#1 - ci update
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilpiech97 committed Apr 4, 2024
1 parent fab0f15 commit 1ac56fa
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,24 @@ jobs:
php: ["8.2", "8.3"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.1.1

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- name: Validate composer.json and composer.lock
run: composer validate

- name: Cache composer dependencies
uses: actions/cache@v2
- name: Cache dependencies
uses: actions/cache@v4.0.1
with:
path: vendor
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
key: ${{ runner.os }}-composer-dependencies-${{ hashFiles('composer.lock') }}
restore-keys: ${{ runner.os }}-composer-dependencies

- name: Validate composer.json
run: composer validate
- name: Setup PHP
uses: shivammathur/[email protected]
with:
php-version: 8.3
extensions: dom, curl, libxml, mbstring, zip, pcntl, intl
coverage: none

- name: Install dependencies
run: composer install --prefer-dist --no-progress
Expand Down

0 comments on commit 1ac56fa

Please sign in to comment.