Skip to content

Commit

Permalink
Fix github actions runner image
Browse files Browse the repository at this point in the history
  • Loading branch information
bennett-treptow committed Jan 6, 2024
1 parent 7a91445 commit efc8d67
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,24 @@ on:

jobs:
build:

runs-on: ubuntu-18.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup nightly PHP
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: ${{ matrix.php }}

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
key: ${{ runner.os }}-php-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
${{ runner.os }}-php-${{ matrix.php }}
- name: Install dependencies
run: composer install --prefer-dist --no-progress
Expand All @@ -35,4 +34,4 @@ jobs:
# Docs: https://getcomposer.org/doc/articles/scripts.md

- name: Run test suite
run: composer run-script test
run: composer run test

0 comments on commit efc8d67

Please sign in to comment.