Skip to content

Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 #111

Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0

Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 #111

Workflow file for this run

name: PHP CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: PHP ${{ matrix.php_version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php_version:
- '7.3'
- '7.4'
- '8.0'
steps:
- uses: actions/checkout@v4
- name: Use PHP ${{ matrix.php_version }}
uses: shivammathur/[email protected]
with:
php-version: ${{ matrix.php_version }}
# extension-csv: xdebug, mbstring, curl, zip, dom, simplexml, intl, mysql
- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache dependencies
uses: actions/cache@v4
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 --no-progress --no-suggest
- name: Lint
run: composer run lint
# - name: Test
# run: composer run test
# env:
# DB_PORT: ${{ job.services.mysql.ports['3306'] }}