Skip to content

Commit

Permalink
Merge pull request #181 from Rotzbua/improve_github_actions
Browse files Browse the repository at this point in the history
Improve GitHub actions
  • Loading branch information
soullivaneuh authored Aug 23, 2022
2 parents ebab18b + 1bb2aa7 commit 03edd7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ jobs:
build:
strategy:
matrix:
operating-system: [ubuntu-20.04]
operating-system: [ubuntu-22.04]
php-versions: ['7.3', '7.4', '8.0', '8.1']
fail-fast: false
runs-on: ${{ matrix.operating-system }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Gregwar's Image class

[![Build status](https://travis-ci.org/Gregwar/Image.svg?branch=master)](https://travis-ci.org/Gregwar/Image)
[![Build status](https://github.com/Gregwar/Image/actions/workflows/test.yml/badge.svg)](https://github.com/Gregwar/Image/actions/workflows/test.yml)
[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YUXRLWHQSWS6L)

The `Gregwar\Image` class purpose is to provide a simple object-oriented images handling and caching API.
Expand Down Expand Up @@ -211,8 +211,8 @@ You can also create your own image on-the-fly using drawing functions:

## Using fallback image

If the image file doesn't exists, you can configurate a fallback image that will be used
by the class (note that this require the cache directory to be available).
If the image file doesn't exist, you can configure a fallback image that will be used
by the class (note that this requires the cache directory to be available).

A default "error" image which is used is in `images/error.jpg`, you can change it with:

Expand Down

0 comments on commit 03edd7f

Please sign in to comment.