Skip to content

Bump symfony/http-foundation from 5.4.31 to 5.4.46 #48

Bump symfony/http-foundation from 5.4.31 to 5.4.46

Bump symfony/http-foundation from 5.4.31 to 5.4.46 #48

Workflow file for this run

name: Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
php-unit-and-functional-tests:
runs-on: ubuntu-20.04
strategy:
fail-fast: true
matrix:
php-versions: ['8.2.2']
steps:
# —— Setup Github actions —————————————————————————————————————————————
# https://github.com/actions/checkout (official)
- name: Git checkout placeholder-service
uses: actions/checkout@v2
# https://github.com/shivammathur/setup-php (community)
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: none
tools: composer:v2
extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite, dom, filter, gd, iconv, json, mbstring, pdo
env:
update: true
- name: Check PHP Version
run: php -v
# —— Composer —————————————————————————————————————————————————————————
- name: Validate composer.json and composer.lock
run: composer validate --no-check-publish
- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache composer dependencies
uses: actions/cache@v1
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install Composer dependencies
run: composer install
# —— Node.js and npm ———————————————————————————————————————————————————
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Install npm dependencies
run: |
npm install
npx webpack
# —— Symfony ——————————————————————————————————————————————————————————
- name: Check Symfony requirements
run: vendor/bin/requirements-checker