Update dependency axios to ^0.28.0 [SECURITY] #86
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
on: push | |
name: LaravelCI | |
jobs: | |
laravel-tests-phpunit: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:14.0 | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_DB: test | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
steps: | |
- uses: shivammathur/setup-php@81cd5ae0920b34eef300e1775313071038a53429 | |
with: | |
php-version: '8.1' | |
- uses: actions/checkout@v1 | |
with: | |
fetch-depth: 1 | |
- name: Get Composer Cache Directory | |
id: composer-cache | |
run: | | |
echo "::set-output name=dir::$(composer config cache-files-dir)" | |
- uses: actions/cache@v1 | |
with: | |
path: ${{ steps.composer-cache.outputs.dir }} | |
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} | |
restore-keys: | | |
${{ runner.os }}-composer- | |
- name: Get yarn cache | |
id: yarn-cache | |
run: echo "::set-output name=dir::$(yarn cache dir)" | |
- uses: actions/cache@v1 | |
with: | |
path: ${{ steps.yarn-cache.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Install Dependencies | |
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist | |
- name: Directory Permissions | |
run: chmod -R 777 storage bootstrap/cache | |
- name: Prepare Laravel Application | |
run: | | |
cp .env.ci .env | |
php artisan key:generate | |
vendor/bin/phpunit |