Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosp committed Nov 20, 2024
1 parent 273be64 commit 3943df7
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,24 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
container:
image: php:${{ matrix.php_version }}
strategy:
matrix:
php_version: ["8.2"]

steps:
- uses: actions/checkout@v4

- name: Setup PHP with composer v2
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_version }}
coverage: pcov
extensions: json, simplexml
tools: composer:v2
- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
Expand Down

0 comments on commit 3943df7

Please sign in to comment.