Workflow Work

This commit is contained in:
Refringe 2024-06-18 15:19:36 -04:00
parent b6ef3eb761
commit 9b304df564
Signed by: Refringe
SSH Key Fingerprint: SHA256:t865XsQpfTeqPRBMN2G6+N8wlDjkgUCZF3WGW6O9N/k
3 changed files with 15 additions and 15 deletions

View File

@ -12,8 +12,8 @@ DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=33306
DB_DATABASE=testing
DB_USERNAME=root
DB_PASSWORD=
DB_USERNAME=user
DB_PASSWORD=password
FILESYSTEM_DISK=local
QUEUE_CONNECTION=sync

View File

@ -62,7 +62,6 @@ jobs:
with:
php-version: '8.3'
extensions: mbstring, dom, fileinfo
tools: pint
coverage: none
- name: Configure Laravel Nova Authentication
shell: bash
@ -90,7 +89,7 @@ jobs:
- name: Clear Laravel Config
run: php artisan config:clear
- name: Run Pint Code Style Fixer
run: pint
run: ./vendor/bin/pint
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Pint PHP Style Fixes [no ci]
@ -104,11 +103,18 @@ jobs:
mysql:
image: mysql:8.3
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: testing
MYSQL_USER: user
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: password
ports:
- 33306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
env:
DB_DATABASE: testing
DB_PORT: 33306
DB_USERNAME: user
DB_PASSWORD: password
steps:
- name: Checkout
uses: actions/checkout@v4
@ -152,16 +158,9 @@ jobs:
php artisan key:generate
php artisan config:cache
php artisan route:cache
- name: Run Migrations
run: php artisan migrate -v
env:
DB_CONNECTION: mysql
DB_DATABASE: testing
DB_PORT: 33306
DB_USER: root
- name: Run Database Migrations
run: php artisan migrate
- name: Link Storage
run: php artisan storage:link
- name: Serve Application
run: php artisan serve & sleep 5
- name: Run Tests
run: php artisan test

View File

@ -10,7 +10,8 @@ class ModListStats extends Component
public function __construct(
public $mod,
public $modVersion
) {}
) {
}
public function render(): View
{