Skip to content

Bump twig/twig from 3.9.3 to 3.11.2 #10

Bump twig/twig from 3.9.3 to 3.11.2

Bump twig/twig from 3.9.3 to 3.11.2 #10

Workflow file for this run

name: PHP CI/CD
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
extensions: mbstring, intl, mysqli
- name: Install MySQL server
run: sudo apt-get install -y mysql-server
- name: Start MySQL service
run: sudo service mysql start
- name: Create .env file
run: cp .env.example .env
- name: Install Composer dependencies
run: composer install --no-progress --no-suggest --prefer-dist
- name: Start PHP server
run: php -S localhost:8000 -t www &
- name: Run curl request on main page
run: curl -f http://localhost:8000