From 821f25ac11053134ab31a8a73aa40da747f44561 Mon Sep 17 00:00:00 2001 From: Willem Turkstra Date: Mon, 8 Apr 2024 21:49:55 +0200 Subject: [PATCH] Github actions --- .github/workflows/php.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 70e14d7..9df6878 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -15,7 +15,8 @@ jobs: steps: - uses: actions/checkout@v3 - + with: + php_version: "8.2" - name: Validate composer.json and composer.lock run: composer validate --strict @@ -23,15 +24,13 @@ jobs: id: composer-cache uses: actions/cache@v3 with: - php_version: "8.2" path: vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-php- - name: Install dependencies - with: - php_version: "8.2" + run: composer install --prefer-dist --no-progress # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"