Skip to content

Commit

Permalink
Preparation for v1.0.0
Browse files Browse the repository at this point in the history
Set the package to require PHP 8.0 or higher and Laravel 8 or 9
  • Loading branch information
troccoli authored Feb 15, 2023
2 parents 8fb573c + 63119bd commit d56af5f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Tests

on:
push:
pull_request:

jobs:
Expand All @@ -11,8 +10,8 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ 7.4, 8.0 ]
laravel: [ ^8.0 ]
php: [ 8.0, 8.1, 8.2 ]
laravel: [ ^8.0, ^9.0 ]

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}

Expand All @@ -29,8 +28,8 @@ jobs:

- name: Install dependencies
run: |
composer require "illuminate/contracts=${{ matrix.laravel }}" --prefer-dist --no-interaction --no-update
composer update --prefer-dist --no-interaction --no-progress
composer require "illuminate/contracts=${{ matrix.laravel }}" --prefer-dist --no-interaction --no-update
- name: Execute tests
run: vendor/bin/phpunit --verbose
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ For a full list of available icons see [the SVG directory](resources/svg) or pre

## Requirements

- PHP 7.4 or higher
- Laravel 8.0 or higher
- PHP 8.0 or higher
- Laravel 8.0 or 9.0

## Installation

Expand Down
5 changes: 4 additions & 1 deletion bin/compile.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/usr/bin/env bash

set -e
# Run this from the project directory
# e.g. ./bin/compile.sh

set -eu

DIRECTORY=$(cd $(dirname $0) && pwd)
TEMP=$DIRECTORY/../.original-repo
Expand Down

0 comments on commit d56af5f

Please sign in to comment.