diff --git a/.env b/.env index b38c1cb..53cbc28 100644 --- a/.env +++ b/.env @@ -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!" diff --git a/.gitea/workflows/sonarqube_scans.yml b/.gitea/workflows/sonarqube_scans.yml index f27911f..ae4020d 100644 --- a/.gitea/workflows/sonarqube_scans.yml +++ b/.gitea/workflows/sonarqube_scans.yml @@ -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 + \ No newline at end of file