Skip to content

Commit 4d6cd55

Browse files
committed
Updated dependencies and modernized test suite
1 parent afa02df commit 4d6cd55

File tree

6 files changed

+165
-111
lines changed

6 files changed

+165
-111
lines changed

.github/workflows/php.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: PHP Composer
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ master, GH-actions ]
66
pull_request:
77
branches: [ master ]
88

@@ -12,14 +12,14 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v5
1616

1717
- name: Validate composer.json and composer.lock
1818
run: composer validate --strict
1919

2020
- name: Cache Composer packages
2121
id: composer-cache
22-
uses: actions/cache@v2
22+
uses: actions/cache@v4
2323
with:
2424
path: vendor
2525
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
build-phar:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v5
1212

1313
- name: Cache Composer packages
1414
id: composer-cache
15-
uses: actions/cache@v2
15+
uses: actions/cache@v4
1616
with:
1717
path: vendor
1818
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
@@ -29,7 +29,7 @@ jobs:
2929
run: composer build-phar
3030

3131
- name: Upload PHAR
32-
uses: actions/upload-artifact@v2
32+
uses: actions/upload-artifact@v4
3333
with:
3434
name: build-regexp.phar
3535
path: bin/build-regexp.phar
@@ -40,7 +40,7 @@ jobs:
4040
- build-phar
4141

4242
steps:
43-
- uses: actions/download-artifact@v2
43+
- uses: actions/download-artifact@v4
4444
with:
4545
name: build-regexp.phar
4646
path: .

0 commit comments

Comments
 (0)