Skip to content

Commit 2dcc4f2

Browse files
committed
Update the CI setup
1 parent e8e6ed3 commit 2dcc4f2

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828
name: PHP ${{ matrix.php }} ${{ matrix.description }}
2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@v2
31+
uses: actions/checkout@v3
3232

33-
- uses: actions/cache@v2
33+
- uses: actions/cache@v3
3434
with:
3535
path: ~/.composer/cache/files
3636
key: ${{ matrix.php }}-${{ matrix.symfony-versions }}
@@ -47,6 +47,9 @@ jobs:
4747
- name: Install dependencies
4848
run: composer install
4949

50+
- name: Install PHPUnit
51+
run: ./vendor/bin/simple-phpunit install
52+
5053
- name: Run PHPUnit tests
5154
run: |
5255
./vendor/bin/simple-phpunit

.github/workflows/static-analysis.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v2.0.0
14+
uses: actions/checkout@v3
1515

1616
- name: Validate
1717
run: composer validate --no-check-lock --strict
@@ -21,12 +21,12 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v3
2525

2626
- name: Setup PHP
2727
uses: shivammathur/setup-php@v2
2828
with:
29-
php-version: '7.4'
29+
php-version: '8.1'
3030

3131
- name: Install dependencies
3232
run: composer install

0 commit comments

Comments
 (0)