Skip to content

Commit 4bafd56

Browse files
authored
chore(GA): update workflow configuration (#8)
* Update PHP versions in workflow configuration Signed-off-by: Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com> * Update PHP versions and cache actions in workflow Signed-off-by: Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com> * Update GitHub Actions to use newer action versions Signed-off-by: Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com> * Update checkout action version to v6 Signed-off-by: Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com> * Update GitHub Actions to use latest versions Signed-off-by: Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com> * Update PHP versions and GitHub Actions versions Signed-off-by: Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com> * Update checkout action version to v6 Signed-off-by: Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com> * Update checkout action version in workflow Signed-off-by: Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com> * Update checkout action version in workflow Signed-off-by: Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com> * Update PHP and development dependencies in composer.json Signed-off-by: Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com> --------- Signed-off-by: Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com>
1 parent 8868559 commit 4bafd56

8 files changed

Lines changed: 24 additions & 24 deletions

File tree

.github/workflows/check-conflict.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout code
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v6
1616

1717
- name: Check conflict branch in PR
1818
uses: PHPDevsr/check-conflict-action@v1.1.0
@@ -25,4 +25,4 @@ jobs:
2525
We detected conflicts in your PR against the base branch :speak_no_evil:
2626
You may want to sync :arrows_counterclockwise: your branch with upstream!
2727
28-
Ref: [Syncing Your Branch](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/workflow.md#pushing-your-branch)
28+
Ref: [Syncing Your Branch](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/workflow.md#pushing-your-branch)

.github/workflows/check-signing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v6
2222

2323
- name: Check signed commits in PR
2424
uses: 1Password/check-signed-commits-action@v1.2.0

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: 'Checkout Repository'
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1919
- name: 'Dependency Review'
2020
uses: actions/dependency-review-action@v4

.github/workflows/test-coding-standard.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
php-versions: ['8.1', '8.3']
32+
php-versions: ['8.2', '8.5']
3333

3434
steps:
3535
- name: Checkout
36-
uses: actions/checkout@v4
36+
uses: actions/checkout@v6
3737

3838
- name: Setup PHP
3939
uses: shivammathur/setup-php@v2
@@ -48,7 +48,7 @@ jobs:
4848
run: echo "COMPOSER_CACHE_FILES_DIR=$(composer config cache-files-dir)" >> $GITHUB_ENV
4949

5050
- name: Cache composer dependencies
51-
uses: actions/cache@v4
51+
uses: actions/cache@v5
5252
with:
5353
path: ${{ env.COMPOSER_CACHE_FILES_DIR }}
5454
key: ${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}

.github/workflows/test-phpstan.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
php-versions: ['8.1', '8.2', '8.3']
36+
php-versions: ['8.2', '8.3', '8.4', '8.5']
3737

3838
steps:
3939
- name: Checkout
40-
uses: actions/checkout@v4
40+
uses: actions/checkout@v6
4141

4242
- name: Setup PHP
4343
uses: shivammathur/setup-php@v2
@@ -53,7 +53,7 @@ jobs:
5353
run: echo "COMPOSER_CACHE_FILES_DIR=$(composer config cache-files-dir)" >> $GITHUB_ENV
5454

5555
- name: Cache composer dependencies
56-
uses: actions/cache@v4
56+
uses: actions/cache@v5
5757
with:
5858
path: ${{ env.COMPOSER_CACHE_FILES_DIR }}
5959
key: ${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
@@ -65,7 +65,7 @@ jobs:
6565
run: mkdir -p build/phpstan
6666

6767
- name: Cache PHPStan results
68-
uses: actions/cache@v4
68+
uses: actions/cache@v5
6969
with:
7070
path: build/phpstan
7171
key: ${{ runner.os }}-phpstan-${{ github.sha }}

.github/workflows/test-phpunit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
steps:
3737
- name: Checkout
38-
uses: actions/checkout@v4
38+
uses: actions/checkout@v6
3939

4040
- name: Setup PHP
4141
uses: shivammathur/setup-php@v2
@@ -51,7 +51,7 @@ jobs:
5151
run: echo "COMPOSER_CACHE_FILES_DIR=$(composer config cache-files-dir)" >> $GITHUB_ENV
5252

5353
- name: Cache composer dependencies
54-
uses: actions/cache@v4
54+
uses: actions/cache@v5
5555
with:
5656
path: ${{ env.COMPOSER_CACHE_FILES_DIR }}
5757
key: ${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}

.github/workflows/test-rector.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
php-versions: ['8.1', '8.3']
29+
php-versions: ['8.2', '8.5']
3030

3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v6
3434

3535
- name: Setup PHP
3636
uses: shivammathur/setup-php@v2
@@ -46,7 +46,7 @@ jobs:
4646
run: echo "COMPOSER_CACHE_FILES_DIR=$(composer config cache-files-dir)" >> $GITHUB_ENV
4747

4848
- name: Cache composer dependencies
49-
uses: actions/cache@v4
49+
uses: actions/cache@v5
5050
with:
5151
path: ${{ env.COMPOSER_CACHE_FILES_DIR }}
5252
key: ${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,22 @@
2121
],
2222
"homepage": "https://github.com/PHPDevsr/PHPSpreadsheet-Secure",
2323
"require": {
24-
"php": "^8.1 || ^8.2 || ^8.3",
24+
"php": "^8.1 || ^8.2 || ^8.3 || ^8.4 || ^8.5",
2525
"ext-openssl": "*",
2626
"ext-hash": "*",
2727
"ext-simplexml": "*",
2828
"pear/ole": "^v1.0.0",
2929
"pear/pear-core-minimal": "^v1.10.15"
3030
},
3131
"require-dev": {
32-
"codeigniter/coding-standard": "^1.8.1",
33-
"nexusphp/tachycardia": "^2.0",
32+
"codeigniter/coding-standard": "^1.8.1 || ^1.9.1",
33+
"nexusphp/tachycardia": "^2.4",
3434
"phpstan/extension-installer": "^1.4",
35-
"phpstan/phpstan": "^2.1.11",
36-
"phpstan/phpstan-strict-rules": "^2.0.4",
37-
"phpunit/phpcov": "^9.0.2 || ^10.0",
38-
"phpunit/phpunit": "^10.5.16 || ^11.2",
39-
"rector/rector": "2.0.11"
35+
"phpstan/phpstan": "^2.1.40",
36+
"phpstan/phpstan-strict-rules": "^2.0.10",
37+
"phpunit/phpcov": "^9.0.2 || ^10.0 || ^11.0",
38+
"phpunit/phpunit": "^10.5.16 || ^11.5",
39+
"rector/rector": "2.3.8"
4040
},
4141
"minimum-stability": "dev",
4242
"prefer-stable": true,

0 commit comments

Comments
 (0)