Skip to content

Commit

Permalink
Update CI/CD dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alies-dev committed Dec 15, 2024
1 parent 9122c6d commit 0870fdd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/format_php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
ref: ${{ github.head_ref }}

# mtime needs to be restored for PHP-CS-Fixer cache to work correctly
- name: Restore mtimes
uses: weirdan/git-restore-mtime-action@master
- name: Restore timestamps
uses: chetan/git-restore-mtime-action@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@ jobs:
composer config "http-basic.nova.laravel.com" "${{ secrets.NOVA_USERNAME }}" "${{ secrets.NOVA_4_LICENSE_KEY }}"
composer install -n --prefer-dist
- name: Restore timestamps
uses: chetan/git-restore-mtime-action@v2

- name: Run Psalm
run: ./vendor/bin/psalm --shepherd
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ 8.4, 8.3, 8.2, 8.1 ]
laravel: [ 10.*, 11.* ]
php: [ 8.4, 8.3, 8.2 ]
laravel: [ 11.* ]
dependency-version: [ prefer-stable ]
include:
- laravel: 11.*
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Install dependencies
run: |
composer config "http-basic.nova.laravel.com" "${{ secrets.NOVA_USERNAME }}" "${{ secrets.NOVA_4_LICENSE_KEY }}"
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench-core:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
env:
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}
Expand Down

0 comments on commit 0870fdd

Please sign in to comment.