Skip to content

Commit

Permalink
pint check added to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmaypurav committed Sep 28, 2024
1 parent 5cfefd7 commit 49254a3
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit 49254a3

Please sign in to comment.