mirror of
https://github.com/sp-tarkov/forge.git
synced 2025-02-12 20:20:41 -05:00
Updates Workflows
This commit is contained in:
parent
21bf4ae55b
commit
e81e1d4bf2
6
.github/workflows/larastan.yml
vendored
6
.github/workflows/larastan.yml
vendored
@ -3,9 +3,6 @@ name: Laravel Pest Tests
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- develop
|
||||
|
||||
jobs:
|
||||
larastan:
|
||||
@ -18,7 +15,7 @@ jobs:
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
php-version: '8.3'
|
||||
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv
|
||||
coverage: none
|
||||
|
||||
@ -58,7 +55,6 @@ jobs:
|
||||
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
|
||||
|
||||
- name: Update Dependencies with latest stable
|
||||
if: matrix.dependency-stability == 'prefer-stable'
|
||||
run: composer update --prefer-stable
|
||||
|
||||
- name: Execute Code Static Analysis with Larastan
|
||||
|
7
.github/workflows/pint.yml
vendored
7
.github/workflows/pint.yml
vendored
@ -56,11 +56,12 @@ jobs:
|
||||
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
|
||||
|
||||
- name: Update Dependencies with latest stable
|
||||
if: matrix.dependency-stability == 'prefer-stable'
|
||||
run: composer update --prefer-stable
|
||||
|
||||
- name: Pint Code Style Fixer
|
||||
run: vendor/bin/pint fix
|
||||
- name: Run Laravel Pint
|
||||
uses: aglipanci/laravel-pint-action@2.4.0
|
||||
with:
|
||||
preset: laravel
|
||||
|
||||
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
|
20
.github/workflows/tests.yml
vendored
20
.github/workflows/tests.yml
vendored
@ -25,14 +25,6 @@ jobs:
|
||||
--health-timeout=5s
|
||||
--health-retries=3
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
operating-system: [ubuntu-latest]
|
||||
php-versions: ['8.3']
|
||||
dependency-stability: ['prefer-stable']
|
||||
|
||||
name: P${{ matrix.php-versions }} - ${{ matrix.dependency-stability }} - ${{ matrix.operating-system}}
|
||||
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
@ -40,7 +32,7 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20.x'
|
||||
node-version: 20
|
||||
|
||||
- name: Cache node_modules Directory
|
||||
uses: actions/cache@v4
|
||||
@ -59,7 +51,7 @@ jobs:
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
php-version: '8.3'
|
||||
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv
|
||||
coverage: none
|
||||
|
||||
@ -99,7 +91,6 @@ jobs:
|
||||
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
|
||||
|
||||
- name: Update Dependencies with latest stable
|
||||
if: matrix.dependency-stability == 'prefer-stable'
|
||||
run: composer update --prefer-stable
|
||||
|
||||
- name: Generate key
|
||||
@ -123,10 +114,3 @@ jobs:
|
||||
DB_PORT: 33306
|
||||
DB_USER: root
|
||||
run: vendor/bin/pest
|
||||
|
||||
- name: Upload App Logs
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: app
|
||||
path: storage/logs
|
||||
|
Loading…
x
Reference in New Issue
Block a user