Skip to content

build: reuse workflows #916

build: reuse workflows

build: reuse workflows #916

Workflow file for this run

name: Build and test
on:
push:
branches: [main, master]
pull_request:
types: [opened, synchronize, reopened]
release:
types: [created]
jobs:
tests:
uses: monicahq/workflows/.github/workflows/laravel.yml@init

Check failure on line 13 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build and test

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 13, Col: 11): Input testsuite is required, but not provided while calling.
with:
php-version: ${{ matrix.php-version }}
connection: ${{ matrix.connection }}
coverage: ${{ matrix.connection == 'sqlite' && matrix.php-version == '8.2' }}
strategy:
fail-fast: false
matrix:
php-version: [8.1, 8.2]
connection: [sqlite, mysql]
reporting:
uses: monicahq/workflows/.github/workflows/reporting.yml@init
with:
project: asbiin_laravel-adorable
organization: asbiin-github
sources: src
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
needs: tests
release:
uses: monicahq/workflows/.github/workflows/release.yml@init
secrets:
GH_TOKEN_RELEASE: ${{ secrets.GH_TOKEN_RELEASE }}
needs: tests
junit:
uses: monicahq/workflows/.github/workflows/junit.yml@init
needs: tests