From dbf385482d4cc655fbd75f1c1c0a04bfcc3524c4 Mon Sep 17 00:00:00 2001 From: Phani Kumar Mallampati Date: Thu, 20 Jun 2024 15:34:41 -0700 Subject: [PATCH] jenkins CI to GH actions --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 148fe57..e71c2cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,14 +19,17 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: '7.1.27' + - name: Validate composer.json and composer.lock + run: | + sudo composer self-update - name: Cache Composer packages id: composer-cache uses: actions/cache@v3 with: path: vendor - key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} + key: composer-v1-{{ checksum "composer.lock" }} restore-keys: | - ${{ runner.os }}-php- + composer-v1- - run: composer install --prefer-dist --no-progress - name: siftPhpTest run: composer exec phpunit -v