Skip to content

Commit a33119b

Browse files
author
cradu
committed
Removed laravel 12 jobs for now
1 parent 2bce673 commit a33119b

File tree

1 file changed

+0
-105
lines changed

1 file changed

+0
-105
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -224,108 +224,3 @@ jobs:
224224

225225
- name: Execute PHP Insights
226226
run: vendor/bin/phpinsights --no-interaction
227-
228-
229-
laravel12-tests:
230-
runs-on: ubuntu-latest
231-
continue-on-error: true
232-
233-
strategy:
234-
matrix:
235-
operating-system: [ ubuntu-latest ]
236-
php: [ '8.2', '8.3', '8.4' ]
237-
dependency-stability: [ 'prefer-stable' ]
238-
239-
laravel: [ '12.*' ]
240-
include:
241-
- laravel: 12.*
242-
testbench: 10.*
243-
244-
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.dependency-stability }} - ${{ matrix.operating-system}}
245-
246-
steps:
247-
- name: Checkout code
248-
uses: actions/checkout@v4
249-
250-
- name: Setup Node.js
251-
uses: actions/setup-node@v4
252-
with:
253-
node-version: '20.x'
254-
255-
- name: Cache node_modules directory
256-
uses: actions/cache@v4
257-
id: node_modules-cache
258-
with:
259-
path: node_modules
260-
key: ${{ runner.os }}-build-${{ hashFiles('**/package.json') }}-${{ hashFiles('**/package-lock.json') }}
261-
262-
- name: Install NPM packages
263-
if: steps.node_modules-cache.outputs.cache-hit != 'true'
264-
run: npm ci --include=dev
265-
266-
- name: Install PHP versions
267-
uses: shivammathur/setup-php@v2
268-
with:
269-
php-version: ${{ matrix.php }}
270-
271-
- name: Get Composer Cache Directory
272-
id: composer-cache
273-
run: |
274-
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
275-
276-
- name: Cache Composer dependencies
277-
uses: actions/cache@v4
278-
id: actions-cache
279-
with:
280-
path: ${{ steps.composer-cache.outputs.dir }}
281-
key: ${{ runner.os }}-composer-laravel-12-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }}
282-
restore-keys: |
283-
${{ runner.os }}-composer-laravel-12-${{ matrix.php }}-
284-
285-
- name: Cache PHP dependencies (vendor)
286-
uses: actions/cache@v4
287-
id: vendor-cache
288-
with:
289-
path: vendor
290-
key: ${{ runner.os }}-build-laravel-12-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }}
291-
292-
- name: Install Laravel Dependencies
293-
if: steps.vendor-cache.outputs.cache-hit != 'true'
294-
run: |
295-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
296-
composer update --${{ matrix.dependency-stability }} --prefer-dist --no-interaction --no-suggest
297-
298-
- name: Update Dependencies with latest stable
299-
if: matrix.dependency-stability == 'prefer-stable'
300-
run: composer update --prefer-stable
301-
302-
- name: Update Dependencies with lowest stable
303-
if: matrix.dependency-stability == 'prefer-lowest'
304-
run: composer update --prefer-stable --prefer-lowest
305-
306-
- name: Set up Git User
307-
run: |
308-
git config --global user.email "[email protected]"
309-
git config --global user.name "GitHub Actions"
310-
311-
# Code quality
312-
- name: Execute tests (Unit and Feature tests) via PestPHP
313-
shell: 'script -q -e -c "bash {0}"'
314-
# Set environment
315-
env:
316-
SESSION_DRIVER: array
317-
TTY: true
318-
319-
run: vendor/bin/pest
320-
321-
- name: Execute Code Sniffer via Laravel Pint
322-
run: vendor/bin/pint --test src config
323-
324-
- name: Execute PHP Stan
325-
run: vendor/bin/phpstan
326-
327-
- name: Execute Rector
328-
run: vendor/bin/rector --dry-run
329-
330-
- name: Execute PHP Insights
331-
run: vendor/bin/phpinsights --no-interaction

0 commit comments

Comments
 (0)