Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Bump actions/cache from 3.3.3 to 4.0.0 #95

Bump actions/cache from 3.3.3 to 4.0.0

Bump actions/cache from 3.3.3 to 4.0.0 #95

Workflow file for this run

name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ["8.0", "8.1"]
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup PHP
uses: shivammathur/[email protected]
with:
php-version: ${{ matrix.php-versions }}
extensions: json
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache dependencies
uses: actions/[email protected]
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install dependencies
run: composer install --prefer-dist
- name: Check Syntax
run: find app -name "*.php" | xargs -n 1 php -l