diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0054b62..0ab5441 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,30 +8,23 @@ on: release: types: [created] + jobs: tests: + name: Run tests uses: monicahq/workflows/.github/workflows/laravel.yml@main with: - php-version: ${{ matrix.php-version }} - connection: ${{ matrix.connection }} - coverage: ${{ matrix.connection == 'sqlite' && matrix.php-version == '8.2' }} - database_name: version - - strategy: - fail-fast: false - matrix: - php-version: ['8.2'] - connection: [sqlite, mysql] - - reporting: - uses: monicahq/workflows/.github/workflows/reporting.yml@main - with: + php-versions: "['8.2']" + connections: "['sqlite', 'mysql']" + default-php-version: '8.2' + default-connection: sqlite project: monicahq_version + database_name: version secrets: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - needs: tests assets: + name: Build assets uses: monicahq/workflows/.github/workflows/build_assets.yml@main with: node-version: 18 diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index dde3538..d59abb3 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -6,6 +6,7 @@ on: jobs: statics: + name: Static analysis uses: monicahq/workflows/.github/workflows/static.yml@main with: php-version: 8.2