Skip to content

Commit 5dfe21d

Browse files
authored
Merge pull request #3059 from stof/clean_ci
Update the CI setup
2 parents 104e486 + 2dcc4f2 commit 5dfe21d

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/ci.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ jobs:
2929
name: PHP ${{ matrix.php }} ${{ matrix.description }}
3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v2
32+
uses: actions/checkout@v3
3333

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

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

.github/workflows/static-analysis.yaml

+3-3
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)