diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 143cd04..61a8609 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,7 +9,26 @@ on: - main jobs: - ci: + pint: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: 8.3 + tools: composer:v2 + + - name: Install Dependencies + run: composer install --no-interaction --prefer-dist --optimize-autoloader + + - name: Run Pint (Code Style Check) + run: ./vendor/bin/pint --test + + pest: runs-on: ubuntu-latest steps: @@ -28,5 +47,5 @@ jobs: - name: Setup environment run: cp .env.example .env && php artisan key:generate - - name: Tests + - name: Run Tests run: ./vendor/bin/pest