Bump symfony/http-client from 5.4.42 to 5.4.46 in the composer group across 1 directory #128
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: "7.2" | |
extensions: mbstring, dom, fileinfo | |
coverage: xdebug | |
- name: Get Composer Cache Directory | |
id: composer-cache | |
run: | | |
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | |
- name: Set up dependency caching for faster installs | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.composer-cache.outputs.dir }} | |
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} | |
restore-keys: | | |
${{ runner.os }}-composer- | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "6" | |
cache: "yarn" | |
- name: Composer install | |
run: composer install --prefer-dist | |
- name: Npm install | |
run: yarn install | |
- name: Frontend build | |
run: yarn run build | |
- name: Prepare the application | |
run: | | |
php -r "file_exists('.env') || copy('.env.example', '.env');" | |
php artisan key:generate | |
- name: Clear Config | |
run: php artisan config:clear | |
- name: phpunit | |
run: vendor/bin/phpunit --coverage-text |