Merge branch 'main' of https://code.caldwell.digital/home/torsearch
Some checks failed
CI / build-test (push) Failing after 1m23s

This commit is contained in:
Brock H Caldwell
2026-03-08 18:37:03 -05:00
2 changed files with 25 additions and 19 deletions

1
.env
View File

@@ -27,6 +27,7 @@ APP_SECRET=
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4"
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
# DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
DATABASE_URL=
###< doctrine/doctrine-bundle ###
MERCURE_JWT_SECRET="!ChangeThisMercureHubJWTSecretKey!"

View File

@@ -1,24 +1,29 @@
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
name: CI
on: [push]
name: SonarQube Scan
jobs:
sonarqube:
name: SonarQube Trigger
build-test:
runs-on: ubuntu-latest
steps:
- name: Checking out
uses: actions/checkout@v4
- name: Checkout repo
uses: actions/checkout@v5
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
fetch-depth: 0
- name: SonarQube Scan
uses: https://code.caldwell.digital/tools/sonarqube-action@v0.0.3
with:
host: "https://qube.caldwell.digital"
login: ${{ secrets.SONARQUBE_TOKEN }}
projectName: "torsearch"
projectBaseDir: "./src"
php-version: '8.4' # Specify your required PHP version
- name: Install phing
run: composer global require phing/phing
- name: Run composer
run: composer install --no-dev --no-scripts -o
- name: Build tailwind
run: php bin/console tailwind:build
- name: Compile assets
run: php bin/console asset-map:compile