Skip to content

Commit

Permalink
CI: use ubuntu-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Dec 31, 2023
1 parent 3f46a8a commit c05a1d5
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ on:

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

strategy:
fail-fast: true
matrix:
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]
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']

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

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

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

- name: Fix PHPUnit for PHP8
run: composer config platform.php 7.4
if: matrix.php >= 8

- name: Install dependencies
run: composer install --prefer-dist --no-interaction --no-progress

Expand Down

0 comments on commit c05a1d5

Please sign in to comment.