Skip to content

Commit 4a4d948

Browse files
author
Itamar Junior
committed
Update GitHub Actions workflow for Laravel package testing: modify branch patterns, upgrade PHP version, and enhance Composer install command
1 parent 0ae1ef1 commit 4a4d948

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/laravel-package-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ on:
44
push:
55
branches:
66
- master
7-
- '*.x'
7+
- "*.x"
88
pull_request:
99
schedule:
10-
- cron: '0 0 * * *'
10+
- cron: "0 0 * * *"
1111

1212
jobs:
1313
test:
@@ -16,20 +16,20 @@ jobs:
1616
steps:
1717
# Step 1: Checkout the repository
1818
- name: Checkout repository
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020

2121
# Step 2: Setup PHP
2222
- name: Setup PHP
2323
uses: shivammathur/setup-php@v2
2424
with:
25-
php-version: "8.0" # Adjust PHP version as needed
26-
extensions: mbstring, sqlite3, pdo_sqlite
25+
php-version: "8.2"
26+
extensions: dom, curl, libxml, mbstring, zip, sqlite3, pdo_sqlite
2727
coverage: none
2828

2929
# Step 3: Install Composer dependencies
3030
- name: Install dependencies
3131
run: |
32-
composer install --prefer-dist --no-progress
32+
composer install --prefer-dist --no-interaction --no-progress
3333
3434
# Step 4: Setup Laravel environment
3535
- name: Setup Laravel environment

0 commit comments

Comments
 (0)