Skip to content

Commit

Permalink
Update CI workflows (#552)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell authored Apr 8, 2023
1 parent e98e3e6 commit 7cd3009
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
max-parallel: 10
matrix:
Expand All @@ -21,11 +21,7 @@ jobs:
extensions: mbstring

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

- name: Mimic PHP 8.0
run: composer config platform.php 8.0.999
if: matrix.php > 8
uses: actions/checkout@v3

- name: Install dependencies
run: composer update --no-interaction --no-progress
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@ on:
pull_request:

jobs:

build:
name: Test
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
max-parallel: 10
matrix:
php: ['7.2', '7.3', '7.4', '8.0']
php: ['7.2', '7.3', '7.4', '8.0', '8.1']

steps:
- name: Set up PHP
Expand All @@ -21,7 +20,7 @@ jobs:
coverage: none

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download dependencies
uses: ramsey/composer-install@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on:
jobs:
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

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

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down

0 comments on commit 7cd3009

Please sign in to comment.