Skip to content

Commit c05a1d5

Browse files
committed
CI: use ubuntu-latest
1 parent 3f46a8a commit c05a1d5

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ on:
66

77
jobs:
88
linux_tests:
9-
runs-on: ubuntu-18.04
9+
runs-on: ubuntu-latest
1010
if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')"
1111

1212
strategy:
1313
fail-fast: true
1414
matrix:
15-
php: [5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3]
15+
php: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
1616

1717
name: PHP ${{ matrix.php }}/Linux
1818

1919
steps:
2020
- name: Checkout code
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v4
2222

2323
- name: Setup PHP
2424
uses: shivammathur/setup-php@v2
@@ -31,10 +31,6 @@ jobs:
3131
- name: Setup problem matchers
3232
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
3333

34-
- name: Fix PHPUnit for PHP8
35-
run: composer config platform.php 7.4
36-
if: matrix.php >= 8
37-
3834
- name: Install dependencies
3935
run: composer install --prefer-dist --no-interaction --no-progress
4036

0 commit comments

Comments
 (0)