diff --git a/.github/workflows/larastan.yml b/.github/workflows/larastan.yml index c49c092..baba565 100644 --- a/.github/workflows/larastan.yml +++ b/.github/workflows/larastan.yml @@ -3,9 +3,6 @@ name: Laravel Pest Tests on: pull_request: push: - branches: - - main - - develop jobs: larastan: @@ -18,7 +15,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: ${{ matrix.php-versions }} + php-version: '8.3' extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv coverage: none @@ -58,7 +55,6 @@ jobs: run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist - name: Update Dependencies with latest stable - if: matrix.dependency-stability == 'prefer-stable' run: composer update --prefer-stable - name: Execute Code Static Analysis with Larastan diff --git a/.github/workflows/pint.yml b/.github/workflows/pint.yml index 10cfc7f..56fb85c 100644 --- a/.github/workflows/pint.yml +++ b/.github/workflows/pint.yml @@ -56,11 +56,12 @@ jobs: run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist - name: Update Dependencies with latest stable - if: matrix.dependency-stability == 'prefer-stable' run: composer update --prefer-stable - - name: Pint Code Style Fixer - run: vendor/bin/pint fix + - name: Run Laravel Pint + uses: aglipanci/laravel-pint-action@2.4.0 + with: + preset: laravel - uses: stefanzweifel/git-auto-commit-action@v5 with: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e3c8b01..1da60fc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,14 +25,6 @@ jobs: --health-timeout=5s --health-retries=3 - strategy: - matrix: - operating-system: [ubuntu-latest] - php-versions: ['8.3'] - dependency-stability: ['prefer-stable'] - - name: P${{ matrix.php-versions }} - ${{ matrix.dependency-stability }} - ${{ matrix.operating-system}} - steps: - name: Checkout Code uses: actions/checkout@v4 @@ -40,7 +32,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: 20 - name: Cache node_modules Directory uses: actions/cache@v4 @@ -59,7 +51,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: ${{ matrix.php-versions }} + php-version: '8.3' extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv coverage: none @@ -99,7 +91,6 @@ jobs: run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist - name: Update Dependencies with latest stable - if: matrix.dependency-stability == 'prefer-stable' run: composer update --prefer-stable - name: Generate key @@ -123,10 +114,3 @@ jobs: DB_PORT: 33306 DB_USER: root run: vendor/bin/pest - - - name: Upload App Logs - if: failure() - uses: actions/upload-artifact@v2 - with: - name: app - path: storage/logs