Skip to content

Commit

Permalink
laravel 11 updates
Browse files Browse the repository at this point in the history
updated git actions versions
removed unspported PHP version & Laravel version from tests matrix
  • Loading branch information
swapnilsarwe committed May 25, 2024
1 parent 02424e7 commit b3cabd8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Run PHP CS Fixer
uses: docker://oskarstark/php-cs-fixer-ga
Expand All @@ -21,7 +21,7 @@ jobs:
id: extract_branch

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v2.3.0
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Fix styling
branch: ${{ steps.extract_branch.outputs.branch }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.4, 8]
laravel: [8, 9]
php: [8.1, 8.2, 8.3]
laravel: [10, 11]
exclude:
- php: 7.4
laravel: 9
- php: 8.1
laravel: 11

name: P${{ matrix.php }} - L${{ matrix.laravel }}

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.composer/cache/files
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
Expand All @@ -42,4 +42,4 @@ jobs:
run: composer require "illuminate/contracts=^${{ matrix.laravel }}" --prefer-dist --no-interaction --no-suggest

- name: Execute tests
run: vendor/bin/phpunit --verbose
run: vendor/bin/phpunit
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
],
"require": {
"php": "^7.4|^8.0",
"blade-ui-kit/blade-icons": "^1.0",
"illuminate/support": "^8.0|^9.0|^10.0"
"blade-ui-kit/blade-icons": "^1.1",
"illuminate/support": "^8.0|^9.0|^10.0|^11.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"orchestra/testbench": "^6.0|^7.0|^8.0",
"phpunit/phpunit": "^9.0"
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0",
"phpunit/phpunit": "^9.0|^10.5|^11.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit b3cabd8

Please sign in to comment.